Skip to content

Commit 8398287

Browse files
committed
Use chat env_sep instead of just : to support Windows
1 parent 1acd067 commit 8398287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nu-hooks/nu-hooks/direnv/config.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424

2525
direnv export json | from json | default {} | load-env
2626
# Direnv outputs $PATH as a string, but nushell silently breaks if isn't a list-like table.
27-
$env.PATH = $env.PATH | split row ':'
27+
$env.PATH = $env.PATH | split row (char env_sep)
2828
}

0 commit comments

Comments
 (0)