From 96174095ec9fa542e706c203cc20acee474bc4b1 Mon Sep 17 00:00:00 2001 From: Haylin Moore Date: Tue, 12 Nov 2024 18:59:44 -0500 Subject: [PATCH] alias: syncConfig pushd --- home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/λ//')