Use pkgs.XYZ for aliases
This commit is contained in:
parent
97695def5a
commit
111f4cfabd
1 changed files with 25 additions and 24 deletions
|
@ -93,31 +93,32 @@
|
||||||
|
|
||||||
cdnix = "cd /etc/nixos";
|
cdnix = "cd /etc/nixos";
|
||||||
|
|
||||||
ga = "git add";
|
ga = "${pkgs.git}/bin/git add";
|
||||||
gb = "git branch";
|
gb = "${pkgs.git}/bin/git branch";
|
||||||
gba = "git branch -a";
|
gba = "${pkgs.git}/bin/git branch -a";
|
||||||
gbd = "git branch -d";
|
gbd = "${pkgs.git}/bin/git branch -d";
|
||||||
gc = "git commit";
|
gc = "${pkgs.git}/bin/git commit";
|
||||||
gca = "git commit --amend";
|
gca = "${pkgs.git}/bin/git commit --amend";
|
||||||
gcan = "git commit --amend --no-edit";
|
gcan = "${pkgs.git}/bin/git commit --amend --no-edit";
|
||||||
gcl = "git clone";
|
gcl = "${pkgs.git}/bin/git clone";
|
||||||
gcm = "git commit -m";
|
gcm = "${pkgs.git}/bin/git commit -m";
|
||||||
gco = "git checkout";
|
gco = "${pkgs.git}/bin/git checkout";
|
||||||
gcob = "git checkout -b";
|
gcob = "${pkgs.git}/bin/git checkout -b";
|
||||||
gcom = "git remote show origin | sed -n '/HEAD branch/s/.*: //p' | xargs git checkout";
|
gcom = "${pkgs.git}/bin/git remote show origin | sed -n '/HEAD branch/s/.*: //p' | xargs git checkout";
|
||||||
gf = "git fetch";
|
gf = "${pkgs.git}/bin/git fetch";
|
||||||
gfp = "git fetch --prune";
|
gfp = "${pkgs.git}/bin/git fetch --prune";
|
||||||
gl = "git pull";
|
gl = "${pkgs.git}/bin/git pull";
|
||||||
gla = "git pull --autostash";
|
gla = "${pkgs.git}/bin/git pull --autostash";
|
||||||
gp = "git push";
|
gp = "${pkgs.git}/bin/git push";
|
||||||
gpf = "git push --force-with-lease";
|
gpf = "${pkgs.git}/bin/git push --force-with-lease";
|
||||||
gr = "git reset";
|
gr = "${pkgs.git}/bin/git reset";
|
||||||
grs = "git reset --soft";
|
grs = "${pkgs.git}/bin/git reset --soft";
|
||||||
gs = "git stash";
|
gs = "${pkgs.git}/bin/git stash";
|
||||||
gsa = "git stash apply";
|
gsa = "${pkgs.git}/bin/git stash apply";
|
||||||
gsp = "git stash pop";
|
gsp = "${pkgs.git}/bin/git stash pop";
|
||||||
|
gst = "${pkgs.git}/bin/git status";
|
||||||
|
|
||||||
tigs = "tig status";
|
tigs = "${pkgs.tig}/bin/tig status";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue