feat: make zoxide the default cd provider

- `cd` is now essentially aliased to `z` allowing frecency matching for
`cd` commands.
- `cdi` is now aliased to `zi` allowing interactive frecency matching
for `cd` commands.
This commit is contained in:
2026-04-30 19:44:26 -04:00
parent 9ff9e52a6e
commit 0a238c84a1
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ FZF is themed to Catppuccin Mocha with the following colors set via `FZF_DEFAULT
### Zoxide
Smart `cd` replacement. `z <keyword>` jumps to the best frecency match; `zi` opens an interactive selector.
Smart `cd` replacement. `cd` (or `z`) `<keyword>` jumps to the best frecency match; `cdi` (or `zi`) opens an interactive selector.
### DirEnv
+6 -5
View File
@@ -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