Merge pull request #119 from asdf-vm/better-install-commands

Use -e flag when calling echo so newlines are used.
This commit is contained in:
Trevor Brown 2016-12-08 11:10:22 -07:00 committed by GitHub
commit beb4be33f4

View File

@ -15,12 +15,12 @@ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.2.0
Depending on your OS, run the following
```bash
# For Ubuntu or other linux distros
echo '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
echo '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc
# OR for Mac OSX
echo '\n. $HOME/.asdf/asdf.sh' >> ~/.bash_profile
echo '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bash_profile
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bash_profile
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bash_profile
```
If you use zsh or any other shell, replace `.bashrc` with the config file for the respective shell.