Skip to content

Commit

Permalink
nushell: fix deprecated def-env
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 21, 2023
1 parent bb343f0 commit f846075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/carapace/cmd/lazyInit.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ function unset-env -d "unset environment variable"; set -e $argv[1]; end`
case "nushell":
return `
def-env get-env [name] { $env | get $name }
def-env set-env [name, value] { load-env { $name: $value } }
def-env unset-env [name] { hide-env $name }`
def --env get-env [name] { $env | get $name }
def --env set-env [name, value] { load-env { $name: $value } }
def --env unset-env [name] { hide-env $name }`

case "powershell":
return `
Expand Down

0 comments on commit f846075

Please sign in to comment.