diff --git a/README.md b/README.md index b63aff4..5ae7cbc 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ FZF is themed to Catppuccin Mocha with the following colors set via `FZF_DEFAULT ### Zoxide -Smart `cd` replacement. `z ` jumps to the best frecency match; `zi` opens an interactive selector. +Smart `cd` replacement. `cd` (or `z`) `` jumps to the best frecency match; `cdi` (or `zi`) opens an interactive selector. ### DirEnv diff --git a/conf.d/zoxide.fish b/conf.d/zoxide.fish index 1d10e44..2c29a00 100644 --- a/conf.d/zoxide.fish +++ b/conf.d/zoxide.fish @@ -92,9 +92,10 @@ alias z=__zoxide_z abbr --erase zi &>/dev/null alias zi=__zoxide_zi +abbr --erase cdi &>/dev/null +alias cdi=__zoxide_zi + # ============================================================================= -# -# To initialize zoxide, add this to your configuration (usually -# ~/.config/fish/config.fish): -# -# zoxide init fish | source +# Initialize zoxide: + +zoxide init --cmd=cd fish | source