Skip to content

Commit

Permalink
home/terminal/shell/zsh: add git alias
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Sep 18, 2024
1 parent 54f8eaa commit 91c95e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions home/terminal/shell/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

shellAliases =
{
g = "git";
grep = "grep --color";
ip = "ip --color";
l = "eza -l";
Expand All @@ -76,8 +77,8 @@
ppc = "powerprofilesctl";
pf = "powerprofilesctl launch -p performance";

us = "systemctl --user";
rs = "sudo systemctl";
us = "systemctl --user"; # mnemonic for user systemctl
rs = "sudo systemctl"; # mnemonic for root systemctl
}
// lib.optionalAttrs config.programs.bat.enable {cat = "bat";};
shellGlobalAliases = {eza = "eza --icons --git";};
Expand Down

0 comments on commit 91c95e5

Please sign in to comment.