mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-26 09:42:02 -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
|
||||
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. Reload your .bashrc or .zshrc to take effect."
|
||||
echo " source ~/.bashrc # bash"
|
||||
echo " source ~/.zshrc # zsh"
|
||||
echo
|
||||
echo "To uninstall fzf, simply remove the added lines."
|
||||
|
||||
|
Reference in New Issue
Block a user