mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Updated test for path
This commit is contained in:
parent
08655e9606
commit
733b4d8dde
@ -9,7 +9,7 @@ set -l asdf_data_dir (
|
||||
set -l asdf_bin_dirs $asdf_dir/bin $asdf_dir/shims $asdf_data_dir/shims
|
||||
|
||||
for x in $asdf_bin_dirs
|
||||
if begin not contains $x $PATH; and test -d $x; end
|
||||
if begin not contains $x $fish_user_paths; and test -d $x; end
|
||||
set -gx fish_user_paths $fish_user_paths $x
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user