未验证 提交 36cc94f3 编写于 作者: A Ajeet D'Souza 提交者: GitHub

feat(zoxide): add new plugin for zoxide (a smarter cd CLI tool) (#9950)

上级 3ea66642
......@@ -7,3 +7,4 @@ plugins/gitfast/ @felipec
plugins/sdk/ @rgoldberg
plugins/universalarchive/ @Konfekt
plugins/wp-cli/ @joshmedeski
plugins/zoxide/ @ajeetdsouza
# zoxide plugin
Initializes [zoxide](https://github.com/ajeetdsouza/zoxide), a smarter cd
command for your terminal.
![Tutorial](https://raw.githubusercontent.com/ajeetdsouza/zoxide/97dc08347d9dbf5b5a4516b79e0ac27366b962ce/contrib/tutorial.webp)
To use it, add `zoxide` to the plugins array in your `.zshrc` file:
```zsh
plugins=(... zoxide)
```
**Note:** you have to [install zoxide](https://github.com/ajeetdsouza/zoxide#step-1-install-zoxide) first.
if (( $+commands[zoxide] )); then
eval "$(zoxide init zsh)"
else
echo '[oh-my-zsh] zoxide not found, please install it from https://github.com/ajeetdsouza/zoxide'
fi
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册