fix shims folder path

This commit is contained in:
Lucas Vasconcelos 2020-08-12 10:12:22 -03:00
parent 81130db6fc
commit 0d7a939934

View File

@ -1,10 +1,12 @@
set -x ASDF_DIR (dirname (status -f))
if test -n $ASDF_DATA_DIR
set -l asdf_user_shims $ASDF_DATA_DIR/shims
set -l asdf_user_shims (
if test -n "$ASDF_DATA_DIR"
echo $ASDF_DATA_DIR/shims
else
set -l asdf_user_shims $HOME/.asdf
echo $HOME/.asdf/shims
end
)
# Add asdf to PATH
set -l asdf_bin_dirs $ASDF_DIR/bin $asdf_user_shims