Don't source ~/.zshrc after uninstall.

We don't know which shell we're running under. And re-sourcing a different in a running session .zshrc doesn't get you to the right configuration.
This commit is contained in:
Andrew Janke 2015-09-29 20:00:56 -04:00
commit 753ab332d2

View file

@ -23,11 +23,8 @@ if [ -e "$ZSHRC_ORIG" ]; then
fi
mv "$ZSHRC_ORIG" ~/.zshrc;
source ~/.zshrc;
else
if hash chsh >/dev/null 2>&1
then
if hash chsh >/dev/null 2>&1; then
echo "Switching back to bash"
chsh -s /bin/bash
else