Commit 73f29087 authored by Luca S's avatar Luca S Committed by Marc Cornellà
Browse files

installer: replace the current shell with the new ZSH instance

This replaces the currently running process with the new one using `exec`
instead of creating a new process. This way, when the user `exit`s out of
the new shell it will not pop them back into the shell from which ohmyzsh
was installed from.
parent 1fdd5351
......@@ -149,7 +149,7 @@ main() {
EOF
printf "$NORMAL"
env zsh -l
exec zsh -l
}
main
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment