Reload .bashrc/.zshrc after installation

This commit is contained in:
Junegunn Choi 2013-11-20 01:57:24 +09:00
parent a9fd496691
commit 179b00ed6c
1 changed files with 10 additions and 0 deletions

10
install
View File

@ -68,5 +68,15 @@ for shell in bash zsh; do
echo
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."