2021-06-14 01:30:58 +08:00
# 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)
```
2024-02-19 17:29:37 +08:00
## Overriding `z` Alias
You can set the `ZOXIDE_CMD_OVERRIDE` , which will be passed to the `--cmd` flag of `zoxide init` . This allows you to set your `z` command to a default of `cd` .
2021-06-14 01:30:58 +08:00
**Note:** you have to [install zoxide ](https://github.com/ajeetdsouza/zoxide#step-1-install-zoxide ) first.