summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2013-11-20 02:10:19 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2013-11-20 02:10:19 +0900
commit64541cb5f89a1bdcee58dbf1f721f8a9987e5d49 (patch)
treebf08d512add065206f3222d3aadb6503de08a904
parent179b00ed6cec883c90d99b3b0d69ffc56735d0e3 (diff)
downloadfzf-64541cb5f89a1bdcee58dbf1f721f8a9987e5d49.tar.gz
Fix install script (source ~/.xxxrc has no effect)
-rwxr-xr-xinstall16
1 files changed, 5 insertions, 11 deletions
diff --git a/install b/install
index 6853ca9d..92a488d2 100755
--- a/install
+++ b/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."