mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-25 12:10:04 +00:00
Fix install script (source ~/.xxxrc has no effect)
This commit is contained in:
parent
179b00ed6c
commit
64541cb5f8
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."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user