From 179b00ed6cec883c90d99b3b0d69ffc56735d0e3 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 20 Nov 2013 01:57:24 +0900 Subject: [PATCH] Reload .bashrc/.zshrc after installation --- install | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install b/install index 54ca03b..6853ca9 100755 --- a/install +++ b/install @@ -68,5 +68,15 @@ 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."