Fix PATH spacing issue in asdf.fish

This commit is contained in:
Gabe Durazo 2019-07-22 07:42:48 -05:00 committed by GitHub
parent ce01bcf849
commit e227c3cda1
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 test -d $x
set PATH $x (echo $PATH | command xargs printf '%s\n' | command grep -v $x)
if test -d $x; and not contains $x $PATH
set PATH $x $PATH
end
end