mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: nushell PATH conversion to list before filter (#1471)
Co-authored-by: James Hegedus <jthegedus@hey.com>
This commit is contained in:
parent
2606a875eb
commit
cd0e12b3ee
4
asdf.nu
4
asdf.nu
@ -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 )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user