mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Add zsh compinit info to readme
This commit is contained in:
parent
df66739fe1
commit
5fccd27e67
12
README.md
12
README.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user