fix: cd to home before exec zsh on update
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user