1
0
Форкнуть 0
This commit is contained in:
Alex Brausewetter 2018-01-09 12:44:25 +01:00
Родитель e81c26619d
Коммит 2cc1f1500b
2 изменённых файлов: 26 добавлений и 1 удалений

Просмотреть файл

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