From cd0e12b3ee4090242b884ac4aea0f65784e52946 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 19 Feb 2023 09:26:31 -0500 Subject: [PATCH] fix: nushell PATH conversion to list before filter (#1471) Co-authored-by: James Hegedus --- asdf.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asdf.nu b/asdf.nu index b6f3e680..f4711c3c 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 | 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 ) }