File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/virtualenv/activation/nushell Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change
1
+ The nushell command 'str collect' has been superseded by the 'str join' command. The activate.nu script has
2
+ been updated to reflect this change.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export-env {
62
62
)
63
63
64
64
let venv_path = ([$virtual_env $bin ] | path join )
65
- let new_path = ($old_path | prepend $venv_path | str collect $path_sep )
65
+ let new_path = ($old_path | prepend $venv_path | str join $path_sep )
66
66
67
67
let new_env = {
68
68
$path_name : $new_path
@@ -102,7 +102,7 @@ export-env {
102
102
})
103
103
104
104
$new_env | merge {
105
- _OLD_VIRTUAL_PATH : ($old_path | str collect $path_sep )
105
+ _OLD_VIRTUAL_PATH : ($old_path | str join $path_sep )
106
106
_OLD_PROMPT_COMMAND : $old_prompt_command
107
107
PROMPT_COMMAND : $new_prompt
108
108
VIRTUAL_PROMPT : $virtual_prompt
You can’t perform that action at this time.
0 commit comments