git: add abbreviations

nixos
Moritz Böhme 2023-02-20 21:44:31 +01:00
parent 21d6fad0ec
commit 1815894015
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ in
config = mkIf cfg.enable {
my.shell.abbreviations = {
ga = "git add";
gap = "git add --patch";
gr = "git restore";
grp = "git restore --patch";
gb = "git branch";
gc = "git commit";
gco = "git checkout";