fix: zsh: check whether asdf-direnv exists

This commit is contained in:
Michel 2024-04-24 15:09:03 +02:00
parent 8a8f11d07e
commit f1994772ca

15
.zshrc
View File

@ -49,12 +49,15 @@ typeset -U path fpath
### ASDF & direnv ### ASDF & direnv
# #
# asdf plugin add direnv if [[ -e "${XDG_CONFIG_HOME}/asdf-direnv/zshrc" ]]; then
# asdf install direnv latest source "${XDG_CONFIG_HOME}/asdf-direnv/zshrc"
# asdf direnv setup --version latest else
# asdf global direnv latest echo "asdf: direnv plugin not set!"
# # asdf plugin add direnv
source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" # asdf install direnv latest
# asdf direnv setup --version latest
# asdf global direnv latest
fi
### b4b4r07/enhancd ### b4b4r07/enhancd
# #