added -e flag to echo in install.sh

in order for newline characters to be parsed correctly
pull/18/head
Kiril Piskunov 14 years ago
parent 411946deb7
commit abb936e33e

@ -38,8 +38,8 @@ else
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
echo -e "\n# Get the aliases and functions" >> ~/.bash_profile
echo -e "\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!"

Loading…
Cancel
Save