edit README.md: use `$ZSH_CUSTOM` if it exists
`${ZSH_CUSTOM:=~/.oh-my-zsh/custom}` would use value of `$ZSH_CUSTOM` if it exists. Otherwise it falls back to `~/.oh-my-zsh/custom`
This commit is contained in:
parent
cf565254e2
commit
f68950a304
|
@ -34,7 +34,7 @@ Add `antigen bundle zsh-users/zsh-completions` to your `~/.zshrc`.
|
|||
|
||||
* Clone the repository inside your oh-my-zsh repo:
|
||||
|
||||
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
|
||||
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
|
||||
|
||||
* Enable it in your `.zshrc` by adding it to your plugin list and reloading the completion:
|
||||
|
||||
|
|
Loading…
Reference in New Issue