We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--ignore-errors
1 parent 4699a72 commit 44e4c0bCopy full SHA for 44e4c0b
1 file changed
bash-env.nu
@@ -20,7 +20,7 @@ export def main [
20
let raw = $input_str | bash-env-json ...($fn_args ++ $path_args) | complete
21
let raw_json = $raw.stdout | from json
22
23
- let error = $raw_json | get -i error
+ let error = $raw_json | get -o error
24
if $error != null {
25
error make { msg: $error }
26
} else if $raw.exit_code != 0 {
@@ -29,7 +29,7 @@ export def main [
29
30
if ($export | is-not-empty) {
31
print "warning: --export is deprecated, use --shellvars(-s) instead"
32
- let exported_shellvars = ($raw_json.shellvars | select -i ...$export)
+ let exported_shellvars = ($raw_json.shellvars | select -o ...$export)
33
$raw_json.env | merge ($exported_shellvars)
34
} else if $shellvars or ($fn | is-not-empty) {
35
$raw_json
0 commit comments