diff --git a/nixos/aliases.zsh b/nixos/aliases.zsh deleted file mode 100644 index 5c02592..0000000 --- a/nixos/aliases.zsh +++ /dev/null @@ -1 +0,0 @@ -alias gco='git checkout' diff --git a/nixos/system/home/shared.nix b/nixos/system/home/shared.nix index d957d59..b65ff3b 100644 --- a/nixos/system/home/shared.nix +++ b/nixos/system/home/shared.nix @@ -152,16 +152,18 @@ in { ]; shellAliases = { - "u" = "cd .."; - "uu" = "cd ../.."; - "uuu" = "cd ../../.."; - "uuuu" = "cd ../../../.."; + u = "cd .."; + uu = "cd ../.."; + uuu = "cd ../../.."; + uuuu = "cd ../../../.."; + uuuuu = "cd ../../../../.."; gs = "git status"; + gco = "git checkout"; + gb = "git branch"; + gpcb = "git push origin $(git rev-parse --abbrev-ref HEAD)"; gc = "nix-collect-garbage --delete-old"; refresh = "source ~/.zshrc"; show_path = "echo $PATH | tr ':' '\n'"; - - gst = "git status"; }; envExtra = '' @@ -169,7 +171,6 @@ in { ''; initExtra = '' - ${builtins.readFile ../../aliases.zsh} bindkey '^p' history-search-backward bindkey '^n' history-search-forward bindkey '^e' end-of-line