mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Merge pull request #537 from HeroicEric/add-homebrew-zsh-instructions
Add Homebrew instructions for ZSH
This commit is contained in:
commit
7b0035b720
@ -66,11 +66,25 @@ 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.)
|
||||
|
||||
Installation via **Git**:
|
||||
|
||||
```shell
|
||||
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc
|
||||
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc
|
||||
```
|
||||
|
||||
Installation via **Homebrew**:
|
||||
|
||||
?> If you have Homebrew's ZSH completions configured, the second line below is
|
||||
unnecessary. See [Configuring Completions in
|
||||
ZSH](https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh) in
|
||||
the Homebrew docs.
|
||||
|
||||
```bash
|
||||
echo -e '\n. $(brew --prefix asdf)/asdf.sh' >> ~/.zshrc
|
||||
echo -e '\n. $(brew --prefix asdf)/etc/bash_completion.d/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.
|
||||
|
Loading…
Reference in New Issue
Block a user