summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-10-10 16:28:49 +0200
committerAlan Pearce2019-10-10 16:28:49 +0200
commit02977dc99164b2c21750b3a7b14ff200591d43aa (patch)
treeec18271e0b6822ee51f670ceb314210ee4bb9a87 /user
parentda7c91c51d080b304e55b36dbff6b3283fdf4969 (diff)
downloadnixfiles-02977dc99164b2c21750b3a7b14ff200591d43aa.tar.lz
nixfiles-02977dc99164b2c21750b3a7b14ff200591d43aa.tar.zst
nixfiles-02977dc99164b2c21750b3a7b14ff200591d43aa.zip
zsh: add more nix-channel aliases
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index ab9e7b4f..0556eaa4 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -235,8 +235,17 @@ in
       hoh = "home-manager-help";
 
       nic = "nix-channel";
+      nica = "nix-channel --add";
       nicl = "nix-channel --list";
       nicu = "nix-channel --update";
+      nicr = "nix-channel --remove";
+      nicb = "nix-channel --rollback";
+      snic = "sudo nix-channel";
+      snica = "sudo nix-channel --add";
+      snicl = "sudo nix-channel --list";
+      snicu = "sudo nix-channel --update";
+      snicr = "sudo nix-channel --remove";
+      snicb = "sudo nix-channel --rollback";
       n = "nix-env";
       ni = "nix-env -iA";
       nq = "nix-env -q";