diff --git a/modules/programs/git.nix b/modules/programs/git.nix index c3546e1..fa4fab0 100644 --- a/modules/programs/git.nix +++ b/modules/programs/git.nix @@ -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";