Pārlūkot izejas kodu

added -e flag to echo in install.sh

in order for newline characters to be parsed correctly
pull/18/head
Kiril Piskunov pirms 14 gadiem
vecāks
revīzija
abb936e33e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh Parādīt failu

@ -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!"

Notiek ielāde…
Atcelt
Saglabāt