Merge pull request #506 from jechol/master

Always prepend asdf_bin_dirs to PATH
This commit is contained in:
Daniel Perez 2019-04-09 16:19:43 +01:00 committed by GitHub
commit df1f72ed38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@ 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
set PATH $x $PATH
if test -d $x
set PATH $x (echo $PATH | command xargs printf '%s\n' | command grep -v $x)
end
end