all repos — nixfiles @ 02977dc99164b2c21750b3a7b14ff200591d43aa

System and user configuration, managed by nix and home-manager

zsh: add more nix-channel aliases
Alan Pearce alan@alanpearce.eu
Thu, 10 Oct 2019 16:28:49 +0200
commit

02977dc99164b2c21750b3a7b14ff200591d43aa

parent

da7c91c51d080b304e55b36dbff6b3283fdf4969

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -235,8 +235,17 @@ hon = "home-manager news";       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";