Skip to content

Commit 42e1f9d

Browse files
authored
Merge pull request #907 from bbenzikry/zinit-docs
Update zplugin docs --> zinit
2 parents 4ea6cf0 + b7841ad commit 42e1f9d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Installation.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,18 @@ curl -sSL https://git.io/git-extras-setup | sudo bash /dev/stdin
158158

159159
## Installing as Zsh plugin
160160

161-
[Zplugin](https://github.com/zdharma/zplugin) can install git-extras by using:
162-
161+
[ZInit](https://github.com/zdharma/zinit) can install git-extras by using:
163162
```zsh
164-
zplugin ice as"program" pick"$ZPFX/bin/git-*" src"etc/git-extras-completion.zsh" make"PREFIX=$ZPFX"
165-
zplugin light tj/git-extras
163+
zinit ice as"program" pick"$ZPFX/bin/git-*" src"etc/git-extras-completion.zsh" make"PREFIX=$ZPFX"
164+
zinit light tj/git-extras
165+
166+
# or with the for syntax + async load
167+
zinit lucid wait'0a' for \
168+
as"program" pick"$ZPFX/bin/git-*" src"etc/git-extras-completion.zsh" make"PREFIX=$ZPFX" tj/git-extras
169+
166170
```
167171

168-
`$ZPFX` is `~/.zplugin/polaris` by default. Use `zplugin update tj/git-extras` to update.
172+
`$ZPFX` is `~/.zinit/polaris` by default. Use `zinit update tj/git-extras` to update.
169173
This method installs in `$HOME`, so you don't need to ask administrator to install package.
170174

171175
## Updating

0 commit comments

Comments
 (0)