diff --git a/home.nix b/home.nix index 8a5c8fc..a76a26f 100644 --- a/home.nix +++ b/home.nix @@ -22,7 +22,7 @@ }; shellAliases = { upgrade = "home-manager switch"; - syncConfig = "cd ~/.config/home-manager/;git pull;home-manager switch"; + syncConfig = "pushd;cd ~/.config/home-manager/;git pull;home-manager switch;popd;"; }; initExtra = '' export PS1=$(echo "$PS1" | sed 's/λ//')