From 9ecae78687ccc65b4dcf401071d5505f4697be79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 25 Feb 2023 20:27:07 -0300 Subject: [PATCH] systemd: use kak-pager --- user/fish/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/user/fish/default.nix b/user/fish/default.nix index ca88feb..8bc07cb 100644 --- a/user/fish/default.nix +++ b/user/fish/default.nix @@ -22,6 +22,13 @@ in { set_color normal bind \cy 'commandline | wl-copy -n' + + function systemctl --wraps systemctl + env SYSTEMD_COLORS=1 systemctl $argv | kak-pager + end + function journalctl --wraps journalctl + env SYSTEMD_COLORS=1 journalctl $argv | kak-pager + end ''; shellAliases = { rm = "trash";