Fix Oh-My-Zsh suggested configuration breaking completions on non-login shells
This commit is contained in:
parent
c7f1a45ece
commit
d1d332aed8
@ -46,7 +46,7 @@ then
|
|||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
This must be done before `compinit` is called. Note that if you are using Oh My Zsh, it will call `compinit` for you, so this must be done before you call `oh-my-zsh.sh`. This may be done by appending the following line to your `~/.zprofile` after Homebrew's initialization, instead of modifying your `~/.zshrc` as above:
|
This must be done before `compinit` is called. Note that if you are using Oh My Zsh, it will call `compinit` for you when sourced. In this case, instead of the above, add the following line to your `~/.zshrc`, before you call `oh-my-zsh.sh`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user