mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix PATH spacing issue in asdf.fish
This commit is contained in:
parent
ce01bcf849
commit
e227c3cda1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user