mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Always prepend asdf_bin_dirs to PATH
This commit is contained in:
parent
6e136a1d6d
commit
32512ecc9d
@ -9,9 +9,7 @@ set -l asdf_data_dir (
|
|||||||
set -l asdf_bin_dirs $ASDF_DIR/bin $ASDF_DIR/shims $asdf_data_dir/shims
|
set -l asdf_bin_dirs $ASDF_DIR/bin $ASDF_DIR/shims $asdf_data_dir/shims
|
||||||
|
|
||||||
for x in $asdf_bin_dirs
|
for x in $asdf_bin_dirs
|
||||||
if begin not contains $x $PATH; and test -d $x; end
|
set PATH $x (string match -v $x $PATH)
|
||||||
set PATH $x $PATH
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add function wrapper so we can export variables
|
# Add function wrapper so we can export variables
|
||||||
|
Loading…
Reference in New Issue
Block a user