Disable automatic launch of a new zsh session after installation.
anasouardini opened this issue · 0 comments
anasouardini commented
After zap finishes installation, it launches a new shell session: [[ $? -eq 0 ]] && exec zsh || return
in the file install.sh
I've included the installation of Zap in an installation automation script, but the script has other steps after Zap is installed. The new zsh session blocks the installation script and I have to manually(Unless I hack around it) type exit
for the script to continue.
It might be a rare use case, but I think It would be a good idea.
I guess, the alternative would be a message along the lines of: "type 'zsh' or lunch a new terminal to see the effect"