add aliases

nixos
Moritz Böhme 2021-12-04 11:44:45 +01:00
parent d71467a797
commit 32d3022631
1 changed files with 11 additions and 2 deletions

View File

@ -9,15 +9,24 @@
zsh = { zsh = {
enable = true; enable = true;
dotDir = ".config/zsh"; dotDir = ".config/zsh";
history = { expireDuplicatesFirst = true; }; history.expireDuplicatesFirst = true;
shellAliases = { shellAliases = {
du = "dust"; du = "dust";
ls = "exa -lh"; ls = "exa -lh --icons --git";
cat = "bat"; cat = "bat";
feh = "feh --auto-zoom --scale-down"; feh = "feh --auto-zoom --scale-down";
us = "systemctl --user"; us = "systemctl --user";
rs = "sudo systemctl"; rs = "sudo systemctl";
ga = "git add";
gb = "git branch";
gc = "git commit";
gco = "git checkout";
gd = "git diff";
gds = "git diff --staged";
gp = "git push";
gs = "git status";
}; };
enableSyntaxHighlighting = true; enableSyntaxHighlighting = true;
enableAutosuggestions = true; enableAutosuggestions = true;