Skip to content

Commit

Permalink
fix: nushell PATH conversion to list before filter (#1471)
Browse files Browse the repository at this point in the history
Co-authored-by: James Hegedus <jthegedus@hey.com>
  • Loading branch information
hut8 and jthegedus committed Feb 19, 2023
1 parent 2606a87 commit cd0e12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asdf.nu
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def-env configure-asdf [] {
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 | where { |p| $p != $asdf_bin_dir } | append $asdf_bin_dir )
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 )

}

Expand Down

0 comments on commit cd0e12b

Please sign in to comment.