feat: add more git abbreviations
This commit is contained in:
parent
891283aa43
commit
72def5c785
1 changed files with 10 additions and 4 deletions
|
@ -29,18 +29,24 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
my.shell.abbreviations = {
|
my.shell.abbreviations = {
|
||||||
|
g = "git";
|
||||||
|
gC = "git clone";
|
||||||
|
gF = "git pull";
|
||||||
|
gS = "git switch";
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
gap = "git add --patch";
|
gap = "git add --patch";
|
||||||
gr = "git restore";
|
|
||||||
grp = "git restore --patch";
|
|
||||||
gb = "git branch";
|
gb = "git branch";
|
||||||
gc = "git commit";
|
gc = "git commit";
|
||||||
gco = "git checkout";
|
gco = "git checkout";
|
||||||
gd = "git diff";
|
gd = "git diff";
|
||||||
gds = "git diff --staged";
|
gds = "git diff --staged";
|
||||||
gp = "git push";
|
|
||||||
gf = "git fetch";
|
gf = "git fetch";
|
||||||
gF = "git pull";
|
gp = "git push";
|
||||||
|
gr = "git restore";
|
||||||
|
grm = "git rm --cached";
|
||||||
|
grp = "git restore --patch";
|
||||||
|
grps = "git restore --patch --staged";
|
||||||
|
grs = "git restore --staged";
|
||||||
gs = "git status";
|
gs = "git status";
|
||||||
};
|
};
|
||||||
home-manager.users.moritz = {
|
home-manager.users.moritz = {
|
||||||
|
|
Loading…
Reference in a new issue