mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 06:07:42 +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
|
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."
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user