make prompt/extensions tool installed dependent

This commit is contained in:
Daylin Morgan 2022-07-31 16:40:45 +00:00
parent 8f257b2e8f
commit 2638a852b3

View file

@ -1,8 +1,12 @@
autoload -Uz compinit autoload -Uz compinit
compinit compinit
if is-executable sheldon; then
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)" eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
fi
# TODO: make decent fall back shell
is-executable starship && eval "$(starship init zsh)"
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)" is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
eval "$(starship init zsh)"