#!/usr/bin/env fish

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
end

#!/usr/bin/env fish

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

for x in $asdf_dir/{bin,shims}
  if not contains $x $PATH
  and test -d $x
    set -gx PATH $x $PATH
  end
end

Fix issue with Fish shell shim loading script
Fix issue with Fish shell shim loading script

asdf-vm/asdf,Stratus3D/asdf