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..."
|
info "Repository out of date. Pulling updates..."
|
||||||
git fetch origin && git reset --hard origin/master && git clean -fd &>/dev/null
|
git fetch origin && git reset --hard origin/master && git clean -fd &>/dev/null
|
||||||
cd "$orig_dir"
|
cd ~
|
||||||
dotstate activate
|
dotstate activate
|
||||||
exec zsh
|
exec zsh
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user