zsh: enable and create git alias
This commit is contained in:
parent
b887605a43
commit
081c770a0b
1 changed files with 12 additions and 0 deletions
12
home.nix
12
home.nix
|
|
@ -39,4 +39,16 @@ in {
|
||||||
# better diffs
|
# better diffs
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
enableVteIntegration = true;
|
||||||
|
shellAliases = {
|
||||||
|
gc = "git commit -v";
|
||||||
|
ga = "git add";
|
||||||
|
gst = "git status";
|
||||||
|
gp = "git push";
|
||||||
|
gd = "git diff";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue