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

added -e flag to echo in install.sh

in order for newline characters to be parsed correctly
This commit is contained in:
Kiril Piskunov 2010-03-29 14:27:50 -07:00
parent 411946deb7
commit abb936e33e

View File

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