Add Oh My Zsh support
This commit is contained in:
Родитель
e81c26619d
Коммит
2cc1f1500b
19
README.md
19
README.md
|
@ -56,4 +56,21 @@ Run the following command to reload the completion.
|
|||
unfunction _sfdx && autoload -U _sfdx
|
||||
```
|
||||
|
||||
Enjoy!
|
||||
Enjoy!
|
||||
|
||||
## Oh My Zsh
|
||||
|
||||
Users of [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) can import this auto-completion as a plugin. To install it, just clone this repository into the custom plugins folder.
|
||||
|
||||
```console
|
||||
git clone git@github.com:wadewegner/salesforce-cli-zsh-completion.git ~/.oh-my-zsh/custom/plugins/salesforce-cli-zsh-completion
|
||||
```
|
||||
|
||||
Enable it by editing `~/.zshrc`. Add `salesforce-cli-zsh-completion` to the list of extra plugins, like this:
|
||||
|
||||
```sh
|
||||
# ~/.zshrc
|
||||
plugins=(salesforce-cli-zsh-completion)
|
||||
```
|
||||
|
||||
Reload your shell and enjoy.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
# This is a placeholder file that allows [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
|
||||
# to autoload this code as a plugin.
|
||||
#
|
||||
# To install, move this directory to:
|
||||
# ~/.oh-my-zsh/custom/plugins/salesforce-cli-zsh-completion
|
||||
#
|
||||
# And edit ~/.zshrc:
|
||||
# plugins=(salesforce-cli-zsh-completion)
|
Загрузка…
Ссылка в новой задаче