From 0bfed09c84863cc71d81dbe0ca2af367bdb58f84 Mon Sep 17 00:00:00 2001 From: "Daniel M. Drucker" Date: Wed, 14 Mar 2018 12:17:03 -0400 Subject: [PATCH] make install not try for shells we don't support This script will never support csh, barring extremely major changes, so remove that. Comment out kshrc for now - we might be able to support that soon. --- install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/install b/install index e75ad5c..4f3999b 100755 --- a/install +++ b/install @@ -36,10 +36,8 @@ GOTO_FILE_LOCATION='/usr/local/share/goto.sh' RC="" if [ -f ~/.bashrc ]; then RC="$HOME/.bashrc" -elif [ -f ~/.cshrc ]; then - RC="$HOME/.cshrc" -elif [ -f ~/.kshrc ]; then - RC="$HOME/.kshrc" +#elif [ -f ~/.kshrc ]; then +# RC="$HOME/.kshrc" elif [ -f ~/.zshrc ]; then RC="$HOME/.zshrc" fi @@ -57,5 +55,5 @@ if [ -n "$RC" ]; then source "$GOTO_FILE_LOCATION" else _goto_install_error "Error sourcing goto in your startup file.." - _goto_install_error "E.g ~/.bashrc ~/.cshrc etc.." + _goto_install_error "E.g ~/.bashrc ~/.zshrc etc.." fi