fix: nushell PATH conversion to list before filter (#1471)

Co-authored-by: James Hegedus <jthegedus@hey.com>
This commit is contained in:
Liam 2023-02-19 09:26:31 -05:00 committed by GitHub
parent 2606a875eb
commit cd0e12b3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ def-env configure-asdf [] {
let asdf_bin_dir = ( $env.ASDF_DIR | path join 'bin' ) let asdf_bin_dir = ( $env.ASDF_DIR | path join 'bin' )
let-env PATH = ( $env.PATH | where { |p| $p != $shims_dir } | append $shims_dir ) let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $shims_dir } | append $shims_dir )
let-env PATH = ( $env.PATH | where { |p| $p != $asdf_bin_dir } | append $asdf_bin_dir ) let-env PATH = ( $env.PATH | split row (char esep) | where { |p| $p != $asdf_bin_dir } | append $asdf_bin_dir )
} }