mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-21 12:24:56 +00:00
Made it a oh-my-zsh plugin and documented how to use it.
This commit is contained in:
@@ -42,6 +42,23 @@ Usage
|
||||
|
||||
rm -f ~/.zcompdump; compinit
|
||||
|
||||
#### oh-my-zsh
|
||||
|
||||
If you use [oh-my-zsh][] then just clone the repository inside your oh-my-zsh repo:
|
||||
|
||||
```Shell
|
||||
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/custom/plugins/zsh-completions
|
||||
```
|
||||
|
||||
and enable it in your `.zshrc`:
|
||||
|
||||
```zsh
|
||||
plugins+=(zsh-completions)
|
||||
autoload -U compinit && compinit
|
||||
```
|
||||
|
||||
[oh-my-zsh]: http://github.com/robbyrussell/oh-my-zsh
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
fpath+="`dirname $0`/src"
|
||||
Reference in New Issue
Block a user