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:
@@ -118,7 +118,7 @@ FZF is themed to Catppuccin Mocha with the following colors set via `FZF_DEFAULT
|
|||||||
|
|
||||||
### Zoxide
|
### 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
|
### DirEnv
|
||||||
|
|
||||||
|
|||||||
+6
-5
@@ -92,9 +92,10 @@ alias z=__zoxide_z
|
|||||||
abbr --erase zi &>/dev/null
|
abbr --erase zi &>/dev/null
|
||||||
alias zi=__zoxide_zi
|
alias zi=__zoxide_zi
|
||||||
|
|
||||||
|
abbr --erase cdi &>/dev/null
|
||||||
|
alias cdi=__zoxide_zi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
#
|
# Initialize zoxide:
|
||||||
# To initialize zoxide, add this to your configuration (usually
|
|
||||||
# ~/.config/fish/config.fish):
|
zoxide init --cmd=cd fish | source
|
||||||
#
|
|
||||||
# zoxide init fish | source
|
|
||||||
|
|||||||
Reference in New Issue
Block a user