We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce01bcf commit e227c3cCopy full SHA for e227c3c
asdf.fish
@@ -9,8 +9,8 @@ set -l asdf_data_dir (
9
set -l asdf_bin_dirs $ASDF_DIR/bin $ASDF_DIR/shims $asdf_data_dir/shims
10
11
for x in $asdf_bin_dirs
12
- if test -d $x
13
- 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
14
end
15
16
0 commit comments