From 20d8e27f324d58e32f31eafa40a7315c6152987c Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Sat, 1 Aug 2026 16:48:44 -0400 Subject: [PATCH] fix: cd to home before exec zsh on update --- default/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default/.config/zsh/functions.zsh b/default/.config/zsh/functions.zsh index b1abeeb..747a1ea 100644 --- a/default/.config/zsh/functions.zsh +++ b/default/.config/zsh/functions.zsh @@ -32,7 +32,7 @@ dotstate_update() { info "Repository out of date. Pulling updates..." git fetch origin && git reset --hard origin/master && git clean -fd &>/dev/null - cd "$orig_dir" + cd ~ dotstate activate exec zsh } \ No newline at end of file