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:
jjangga0214 2019-04-09 21:06:13 +09:00 committed by GitHub
parent cf565254e2
commit f68950a304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: