2024-03-24 23:39:49 +01:00
|
|
|
# Nushell Environment Config File
|
|
|
|
#
|
|
|
|
# version = "0.91.0"
|
|
|
|
# The prompt indicators are environmental variables that represent
|
|
|
|
# the state of the prompt
|
|
|
|
$env.PROMPT_INDICATOR = {|| "> " }
|
|
|
|
$env.PROMPT_INDICATOR_VI_INSERT = {|| "> " }
|
|
|
|
$env.PROMPT_INDICATOR_VI_NORMAL = {|| ": " }
|
|
|
|
$env.PROMPT_MULTILINE_INDICATOR = {|| "::: " }
|
|
|
|
|
2024-03-30 14:31:36 +01:00
|
|
|
# home managers path, shell aliases, and env vars are not applied to nushell.
|
2024-03-24 23:39:49 +01:00
|
|
|
use std "path add"
|
2024-03-30 14:31:36 +01:00
|
|
|
# $env.PATH = ($env.PATH | split row (char esep))
|
2024-04-11 22:37:50 +02:00
|
|
|
path add ($env.HOME | path join ".cargo" "bin")
|
2024-03-24 23:39:49 +01:00
|
|
|
path add ($env.HOME | path join ".local" "bin")
|
|
|
|
path add ($env.HOME | path join ".nix-profile" "bin")
|
|
|
|
path add ('/opt')
|
|
|
|
$env.PATH = ($env.PATH | uniq)
|
|
|
|
|
|
|
|
$env.PIPENV_VENV_IN_PROJECT = 1
|
|
|
|
$env.POETRY_VIRTUALENVS_IN_PROJECT = 1
|
2024-03-31 01:43:52 +01:00
|
|
|
$env.XDG_DATA_HOME = ( $env.HOME | path join ".local" "share" )
|
2024-03-24 23:39:49 +01:00
|
|
|
|
2024-03-30 14:31:36 +01:00
|
|
|
$env.NU_LIB_DIRS = [
|
|
|
|
...
|
|
|
|
$nu.default-config-dir
|
|
|
|
]
|