Reload .bashrc/.zshrc after installation

This commit is contained in:
Junegunn Choi 2013-11-20 01:57:24 +09:00
parent a9fd496691
commit 179b00ed6c

10
install
View File

@ -68,5 +68,15 @@ for shell in bash zsh; do
echo echo
done done
case "$SHELL" in
*bash)
echo "Reloading ~/.bashrc ..."
source ~/.bashrc
;;
*zsh)
echo "Reloading ~/.zshrc ..."
source ~/.zshrc
;;
esac
echo "Finished. Remove the added lines to uninstall fzf." echo "Finished. Remove the added lines to uninstall fzf."