mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix issue with Fish shell shim loading script
This commit is contained in:
parent
9a525d6bca
commit
adfe8c188b
@ -5,7 +5,9 @@ set -l asdf_dir (dirname (status -f))
|
||||
# we get an ugly warning when setting the path if shims does not exist
|
||||
mkdir -p $asdf_dir/shims
|
||||
|
||||
if not contains $asdf_dir/{bin,shims} $PATH
|
||||
and test -d $asdf/{bin,shims}
|
||||
set -gx PATH $asdf_dir/{bin,shims} $PATH
|
||||
for x in $asdf_dir/{bin,shims}
|
||||
if not contains $x $PATH
|
||||
and test -d $x
|
||||
set -gx PATH $x $PATH
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user