Fix install script (source ~/.xxxrc has no effect)

This commit is contained in:
Junegunn Choi 2013-11-20 02:10:19 +09:00
parent 179b00ed6c
commit 64541cb5f8

16
install
View File

@ -68,15 +68,9 @@ for shell in bash zsh; do
echo echo
done done
case "$SHELL" in echo "Finished. Reload your .bashrc or .zshrc to take effect."
*bash) echo " source ~/.bashrc # bash"
echo "Reloading ~/.bashrc ..." echo " source ~/.zshrc # zsh"
source ~/.bashrc echo
;; echo "To uninstall fzf, simply remove the added lines."
*zsh)
echo "Reloading ~/.zshrc ..."
source ~/.zshrc
;;
esac
echo "Finished. Remove the added lines to uninstall fzf."