Merge pull request #270 from kendocode/update-readme-zsh

Add zsh compinit info to readme
This commit is contained in:
Trevor Brown 2018-01-11 13:39:06 -05:00 committed by GitHub
commit c838b99298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,21 @@ Depending on your OS and shell, run the following:
* Zsh:
If you are using a framework, such as oh-my-zsh, use these lines. (Be sure that if
you make future changes to .zshrc these lines remain *below* the line where you source
your framework.)
```bash
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
```
If you are not using a framework, or if on starting your shell you get an error message
like 'command not found: compinit', then add this line before the ones above.
```bash
autoload -Uz compinit && compinit
```
* Fish:
```bash