replace enhancd with zoxide

This commit is contained in:
Daylin Morgan 2022-02-08 09:38:03 -06:00
parent ee28a1526c
commit c93bc1dd7d
4 changed files with 11 additions and 3 deletions

View file

@ -29,14 +29,14 @@ use = ['{completion,clipboard}.zsh']
[plugins.base16]
github = "chriskempson/base16-shell"
[plugins.enhancd]
github = "b4b4r07/enhancd"
# [plugins.enhancd]
# github = "b4b4r07/enhancd"
[plugins.zsh-defer]
github = "romkatv/zsh-defer"
[plugins.zcolors]
github ="marlonrichert/zcolors"
github = "marlonrichert/zcolors"
[plugins.zsh-syntax-highlighting]
github = "zsh-users/zsh-syntax-highlighting"

View file

@ -24,6 +24,8 @@ bat:
user: sharkdp
just:
user: casey
zoxide:
user: ajeetdsouza
# system monitoring
bottom:

View file

@ -63,6 +63,10 @@ if is-executable bat; then
export BAT_STYLE=header,numbers,grid
fi
if is-executable zoxide; then
export _ZO_FZF_OPTS="--preview 'command lsd --tree --color always --icon always {2..}'"
fi
export ENHANCD_DOT_ARG="up"
export STARSHIP_CONFIG=~/.config/starship/config.toml

View file

@ -3,4 +3,6 @@ compinit
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
eval "$(starship init zsh)"