summaryrefslogtreecommitdiff
path: root/plugins/zoxide/README.md
diff options
context:
space:
mode:
authorJulian <489233+naydichev@users.noreply.github.com>2024-02-19 10:29:37 +0100
committerGitHub <noreply@github.com>2024-02-19 10:29:37 +0100
commit15ffbdd346daa58de6701d3421787012420aa6cc (patch)
tree50ef2414f65f0a3974ad48a586c2c30856ada942 /plugins/zoxide/README.md
parent872b5cd4086a5547dbf788dda4e96ab3868cf59b (diff)
downloadzsh-15ffbdd346daa58de6701d3421787012420aa6cc.tar.gz
zsh-15ffbdd346daa58de6701d3421787012420aa6cc.tar.bz2
zsh-15ffbdd346daa58de6701d3421787012420aa6cc.zip
feat(zoxide): add option to override cmd (#12218)
Diffstat (limited to 'plugins/zoxide/README.md')
-rw-r--r--plugins/zoxide/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/zoxide/README.md b/plugins/zoxide/README.md
index f326effe6..45f77bdf5 100644
--- a/plugins/zoxide/README.md
+++ b/plugins/zoxide/README.md
@@ -10,5 +10,8 @@ To use it, add `zoxide` to the plugins array in your `.zshrc` file:
```zsh
plugins=(... zoxide)
```
+## 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`.
**Note:** you have to [install zoxide](https://github.com/ajeetdsouza/zoxide#step-1-install-zoxide) first.