mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix shims folder path
This commit is contained in:
parent
81130db6fc
commit
0d7a939934
12
asdf.fish
12
asdf.fish
@ -1,10 +1,12 @@
|
|||||||
set -x ASDF_DIR (dirname (status -f))
|
set -x ASDF_DIR (dirname (status -f))
|
||||||
|
|
||||||
if test -n $ASDF_DATA_DIR
|
set -l asdf_user_shims (
|
||||||
set -l asdf_user_shims $ASDF_DATA_DIR/shims
|
if test -n "$ASDF_DATA_DIR"
|
||||||
else
|
echo $ASDF_DATA_DIR/shims
|
||||||
set -l asdf_user_shims $HOME/.asdf
|
else
|
||||||
end
|
echo $HOME/.asdf/shims
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
# Add asdf to PATH
|
# Add asdf to PATH
|
||||||
set -l asdf_bin_dirs $ASDF_DIR/bin $asdf_user_shims
|
set -l asdf_bin_dirs $ASDF_DIR/bin $asdf_user_shims
|
||||||
|
Loading…
Reference in New Issue
Block a user