git command aliases

This commit is contained in:
Tim Schubert 2021-06-12 01:00:42 +02:00
parent 479e043340
commit 8a576e79e7
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -13,6 +13,7 @@ in
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
enableCompletion = true; enableCompletion = true;
enableVteIntegration = true;
autocd = true; autocd = true;
sessionVariables = { sessionVariables = {
EDITOR = "vim"; EDITOR = "vim";
@ -42,10 +43,20 @@ in
profileExtra = '' profileExtra = ''
''; '';
shellAliases = { shellAliases = {
ga = "git add";
gc = "git commit";
gd = "git diff";
gf = "git fetch";
gl = "git log";
gpu = "git push";
gpul = "git pull";
grb = "git rebase";
gre = "git reflog";
gs = "git status";
gsh = "git show";
gst = "git status"; gst = "git status";
gco = "git commit"; gsta = "git stash";
glo = "git log"; gstap = "git stash apply";
gad = "git add";
ls = "exa"; ls = "exa";
la = "exa -a"; la = "exa -a";
ll = "exa -la --no-filesize --changed --time-style=long-iso --git --octal-permissions --no-permissions --no-user --ignore-glob=\".git\""; ll = "exa -la --no-filesize --changed --time-style=long-iso --git --octal-permissions --no-permissions --no-user --ignore-glob=\".git\"";