mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01:00
17 lines
319 B
Text
17 lines
319 B
Text
$env.FOO = 'BAR'
|
|
|
|
|
|
load-env {
|
|
"ENV_CONVERSIONS": {
|
|
"PATH": {
|
|
"from_string": ({|s| $s | split row (char esep) })
|
|
"to_string": ({|v| $v | str join (char esep) })
|
|
}
|
|
}
|
|
"FOO": "BAR"
|
|
"LIST_VALUE": [
|
|
"foo"
|
|
"bar"
|
|
]
|
|
"PROMPT_COMMAND": ({|| "> "})
|
|
}
|