You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
327 B
Plaintext

load-env (fnm env --shell bash
| lines
| str replace 'export ' ''
| str replace -a '"' ''
2 months ago
| split column "="
| rename name value
| where name != "FNM_ARCH" and name != "PATH"
| reduce -f {} {|it, acc| $acc | upsert $it.name $it.value }
)
$env.PATH = ($env.PATH | prepend $"($env.FNM_MULTISHELL_PATH)/bin")