mirror of
https://github.com/iridakos/goto.git
synced 2025-05-29 05:40:10 -07:00
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.
This commit is contained in:
parent
45813c6800
commit
0bfed09c84
8
install
8
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user