diff --git a/modules/global/shell.nix b/modules/global/shell.nix index 16128cf..e47785a 100644 --- a/modules/global/shell.nix +++ b/modules/global/shell.nix @@ -13,7 +13,7 @@ in # git g = "git"; - gcd = "cd $(git root)"; + gcd = "cd $(git root || echo \".\")"; # grep grep = "rg";