diff --git a/asdf.nu b/asdf.nu index f4711c3c..092fd3be 100644 --- a/asdf.nu +++ b/asdf.nu @@ -7,8 +7,8 @@ def-env configure-asdf [] { let asdf_bin_dir = ( $env.ASDF_DIR | path join 'bin' ) - let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $shims_dir } | append $shims_dir ) - let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $asdf_bin_dir } | append $asdf_bin_dir ) + let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $shims_dir } | prepend $shims_dir ) + let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $asdf_bin_dir } | prepend $asdf_bin_dir ) }