Skip to content

Commit

Permalink
Fix VHS for Nushell version ^0.83 (#373)
Browse files Browse the repository at this point in the history
* Changed nushell prompt command

Removed let-env in favor of $env. This supports nushell versions >= 0.83

* Update shell.go
  • Loading branch information
ClipplerBlood authored Sep 28, 2023
1 parent 59b5dd0 commit c059a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ var Shells = map[string]Shell{
Command: []string{"cmd.exe", "/k", "prompt=^> "},
},
nushell: {
Command: []string{"nu", "--interactive", "--execute", "let-env PROMPT_COMMAND = { '' }"},
Command: []string{"nu", "--execute", "$env.PROMPT_COMMAND = {''}"},
},
}

0 comments on commit c059a98

Please sign in to comment.