Use builtin ZSH commands for zoxide

master
Quentin Duchemin 2024-09-01 22:52:12 +02:00
parent e9eea2e924
commit 1c71053888
2 changed files with 1 additions and 3 deletions

View File

@ -9,5 +9,3 @@ alias cp='cpv'
alias vim='nvim'
alias ls='eza'
alias cat='bat'
# zsh function, not binary, cf zoxide
alias cd='z'

2
.zshrc
View File

@ -59,7 +59,7 @@ source $ZSH/oh-my-zsh.sh
eval "$(oh-my-posh init zsh --config ~/.config/theme/quick-term.omp.json)"
# Completions for zoxide
eval "$(zoxide init zsh)"
eval "$(zoxide init zsh --cmd cd)"
# And use Catppuccin Macchiato theme for ZSH fast hightlight plugin (LOCAL means searching in /usr/local/share/fsh)