Support asdf with good performance using asdf-direnv

This commit is contained in:
Danielle McLean 2023-11-27 23:54:45 +11:00
parent 60734cf717
commit 01f7d4f44c
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -2,6 +2,15 @@
local -a newbins local -a newbins
# asdf
export ASDF_CONFIG_FILE=$XDG_CONFIG_HOME/asdf/asdfrc
export ASDF_DATA_DIR=$XDG_DATA_HOME/asdf
# Don't add asdf's directories to the command path, because evaluating its
# version resolution every time you call a tool is really slow. Instead just
# configure asdf to respect XDG base directories, then rely on Direnv to
# resolve paths properly for each project, as described here:
# https://github.com/zimfw/asdf#how-to-configure-asdf-to-work-with-the-direnv-installed-with-my-system-package-manager
# docker # docker
export DOCKER_CONFIG=$XDG_CONFIG_HOME/docker export DOCKER_CONFIG=$XDG_CONFIG_HOME/docker