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:
parent
411946deb7
commit
abb936e33e
@ -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!"
|
||||||
|
Loading…
Reference in New Issue
Block a user