replace enhancd with zoxide
This commit is contained in:
parent
ee28a1526c
commit
c93bc1dd7d
4 changed files with 11 additions and 3 deletions
|
@ -29,8 +29,8 @@ use = ['{completion,clipboard}.zsh']
|
||||||
[plugins.base16]
|
[plugins.base16]
|
||||||
github = "chriskempson/base16-shell"
|
github = "chriskempson/base16-shell"
|
||||||
|
|
||||||
[plugins.enhancd]
|
# [plugins.enhancd]
|
||||||
github = "b4b4r07/enhancd"
|
# github = "b4b4r07/enhancd"
|
||||||
|
|
||||||
[plugins.zsh-defer]
|
[plugins.zsh-defer]
|
||||||
github = "romkatv/zsh-defer"
|
github = "romkatv/zsh-defer"
|
||||||
|
|
|
@ -24,6 +24,8 @@ bat:
|
||||||
user: sharkdp
|
user: sharkdp
|
||||||
just:
|
just:
|
||||||
user: casey
|
user: casey
|
||||||
|
zoxide:
|
||||||
|
user: ajeetdsouza
|
||||||
|
|
||||||
# system monitoring
|
# system monitoring
|
||||||
bottom:
|
bottom:
|
||||||
|
|
|
@ -63,6 +63,10 @@ if is-executable bat; then
|
||||||
export BAT_STYLE=header,numbers,grid
|
export BAT_STYLE=header,numbers,grid
|
||||||
fi
|
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 ENHANCD_DOT_ARG="up"
|
||||||
|
|
||||||
export STARSHIP_CONFIG=~/.config/starship/config.toml
|
export STARSHIP_CONFIG=~/.config/starship/config.toml
|
||||||
|
|
|
@ -3,4 +3,6 @@ compinit
|
||||||
|
|
||||||
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
|
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
|
||||||
|
|
||||||
|
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
Loading…
Reference in a new issue