1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

install script modified in order for autojump to install correctly OS X

This commit is contained in:
Cloudera Training 2010-03-28 14:46:18 -07:00
parent c533b2b4fd
commit 1fc107ad38

View File

@ -36,6 +36,11 @@ else
echo "" >> ~/.bashrc
echo "#autojump" >> ~/.bashrc
cat autojump.bash >> ~/.bashrc
OS=`uname`
if [ $OS == 'Darwin' ]; then
echo "# Get the aliases and functions"
echo "\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi" >> ~/.bash_profile
fi
else
echo "Then you need to put autojump.sh, or the code from it, somewhere where it will get read. Good luck!"
fi