2025-01-25 05:44:26 +00:00
|
|
|
# env.nu
|
|
|
|
#
|
|
|
|
# Installed by:
|
|
|
|
# version = "0.101.0"
|
|
|
|
#
|
|
|
|
# Previously, environment variables were typically configured in `env.nu`.
|
|
|
|
# In general, most configuration can and should be performed in `config.nu`
|
|
|
|
# or one of the autoload directories.
|
|
|
|
#
|
|
|
|
# This file is generated for backwards compatibility for now.
|
|
|
|
# It is loaded before config.nu and login.nu
|
|
|
|
#
|
|
|
|
# See https://www.nushell.sh/book/configuration.html
|
|
|
|
#
|
|
|
|
# Also see `help config env` for more options.
|
|
|
|
#
|
|
|
|
# You can remove these comments if you want or leave
|
2025-01-25 18:20:07 +00:00
|
|
|
# them for future reference.
|
|
|
|
|
2025-01-29 19:53:32 +00:00
|
|
|
def co
|
|
|
|
|
2025-01-29 19:21:32 +00:00
|
|
|
$env = {
|
|
|
|
config = {
|
|
|
|
hooks: {
|
|
|
|
pre_prompt: [{ ||
|
|
|
|
if (which direnv | is-empty) {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
direnv export json | from json | default {} | load-env
|
|
|
|
if 'ENV_CONVERSIONS' in $env and 'PATH' in $env.ENV_CONVERSIONS {
|
|
|
|
$env.PATH = do $env.ENV_CONVERSIONS.PATH.from_string $env.PATH
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
table: {
|
|
|
|
mode = "heavy"
|
|
|
|
}
|
|
|
|
show_banner: false
|
2025-01-25 18:20:07 +00:00
|
|
|
}
|
2025-01-29 19:53:32 +00:00
|
|
|
LS_COLOURS = ""
|
2025-01-25 18:20:07 +00:00
|
|
|
}
|