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 = {
enable = true;
dotDir = ".config/zsh";
history = { expireDuplicatesFirst = true; };
history.expireDuplicatesFirst = true;
shellAliases = {
du = "dust";
ls = "exa -lh";
ls = "exa -lh --icons --git";
cat = "bat";
feh = "feh --auto-zoom --scale-down";
us = "systemctl --user";
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;
enableAutosuggestions = true;