-
Notifications
You must be signed in to change notification settings - Fork 886
Closed
Labels
Description
Describe the Bug
I just don't want .tool-version clutter my home dir, So I set export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME="$XDG_CONFIG_HOME"/asdf/tool-versions in .zshrc file, Everything looks fine, but when i use asdf set global version, error occurs, but when i set export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.config/asdf/tool-versions, everything works well.
Steps to Reproduce
asdf global maven 3.9.6
Expected Behaviour
set correct global version for maven
Actual Behaviour
/opt/asdf-vm/lib/functions/versions.bash: line 78: /home/foobar//home/foobar/.config/asdf/tool-versions: No such file or directory
Environment
OS:
Linux arch 6.6.25-1-lts #1 SMP PREEMPT_DYNAMIC Fri, 05 Apr 2024 14:16:56 +0000 x86_64 GNU/Linux
SHELL:
zsh 5.9 (x86_64-pc-linux-gnu)
BASH VERSION:
5.2.26(1)-release
ASDF VERSION:
v0.14.0
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=/home/foobar/.config/asdf/tool-versions
ASDF_DATA_DIR=/home/foobar/.local/share/asdf
ASDF_DIR=/opt/asdf-vm
ASDF_CONFIG_FILE=/home/foobar/.config/asdf/asdfrc
ASDF INSTALLED PLUGINS:
maven https://github.com/halcyon/asdf-maven.git master 83fb4db
asdf plugins affected (if relevant)
No response
xavbourdeau