summaryrefslogtreecommitdiff
path: root/user-profiles/zsh
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-05-16 10:24:36 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-05-16 10:24:36 +0200
commit1e1cd8cc2924c719a27ab92101e9d4087744c238 (patch)
treefe4c494413c013fb4b360b382449e7e8b1e48bd8 /user-profiles/zsh
parentcaf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc (diff)
downloadnixos-1e1cd8cc2924c719a27ab92101e9d4087744c238.tar
nixos-1e1cd8cc2924c719a27ab92101e9d4087744c238.tar.gz
nixos-1e1cd8cc2924c719a27ab92101e9d4087744c238.tar.bz2
nixos-1e1cd8cc2924c719a27ab92101e9d4087744c238.tar.xz
nixos-1e1cd8cc2924c719a27ab92101e9d4087744c238.zip
...
Diffstat (limited to 'user-profiles/zsh')
-rw-r--r--user-profiles/zsh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user-profiles/zsh/default.nix b/user-profiles/zsh/default.nix
index 973ff775..ab523a52 100644
--- a/user-profiles/zsh/default.nix
+++ b/user-profiles/zsh/default.nix
@@ -21,6 +21,8 @@
21 abbreviations = { 21 abbreviations = {
22 re = "systemctl restart"; 22 re = "systemctl restart";
23 ure = "systemctl --user restart"; 23 ure = "systemctl --user restart";
24 st = "systemctl status";
25 ust = "systemctl --user status";
24 }; 26 };
25 globalAbbreviations = { 27 globalAbbreviations = {
26 "L" = "| less"; 28 "L" = "| less";
@@ -28,6 +30,7 @@
28 "G" = "| grep"; 30 "G" = "| grep";
29 "B" = "&> /dev/null &"; 31 "B" = "&> /dev/null &";
30 "BB" = "&> /dev/null &!"; 32 "BB" = "&> /dev/null &!";
33 "J" = lib.mkIf config.programs.jq.enable "| jq '.'";
31 }; 34 };
32 }; 35 };
33 36