mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-07 15:42:08 -07:00
Fix install script (source ~/.xxxrc has no effect)
This commit is contained in:
16
install
16
install
@@ -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."
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user