diff --git a/home/git/default.nix b/home/git/default.nix index 04d7786..c63b2c8 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -35,6 +35,7 @@ in pick = "log -p -G"; push-new = "!git push -u origin " + ''"$(git branch | grep '^* ' | cut -f2- -d' ')"''; + root = "git rev-parse --show-toplevel"; }; lfs.enable = true;