zsh update

This commit is contained in:
joy 2024-11-24 17:32:08 +01:00
parent afd74b56ea
commit d07149cbbe

View file

@ -15,14 +15,13 @@
history.path = ".config/zsh/history"; history.path = ".config/zsh/history";
shellAliases = { shellAliases = {
cn = "cd ~/nix"; cn = "cd ~/home/${username}/nix";
ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first"; ls = "${pkgs.eza}/bin/eza --icons -a --group-directories-first";
v = "${pkgs.helix}/bin/hx"; v = "${pkgs.helix}/bin/hx";
cat = "${pkgs.bat}/bin/bat"; cat = "${pkgs.bat}/bin/bat";
lg = "${pkgs.lazygit}/bin/lazygit"; lg = "${pkgs.lazygit}/bin/lazygit";
rs = "z ~ && ssh root@45.145.42.193"; rs = "z ~ && ssh root@45.145.42.193";
hs = "z ~ && ssh ${username}@${domain}"; hs = "z ~ && ssh ${username}@${domain}";
su = "z ~ && su";
ip = "sh ${nixpath}/modules/programs/zsh/scripts/ip.sh"; ip = "sh ${nixpath}/modules/programs/zsh/scripts/ip.sh";
rb = "sh ${nixpath}/modules/programs/zsh/scripts/rebuild.sh"; rb = "sh ${nixpath}/modules/programs/zsh/scripts/rebuild.sh";
fr = "doas systemctl reboot --firmware"; fr = "doas systemctl reboot --firmware";