34 lines
994 B
Nu
34 lines
994 B
Nu
# env.nu
|
|
#
|
|
# Installed by:
|
|
# version = "0.109.1"
|
|
#
|
|
# 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
|
|
# them for future reference.
|
|
let base_xdg = [
|
|
"/usr/local/share"
|
|
"/usr/share"
|
|
]
|
|
|
|
let flatpak_xdg = [
|
|
"/var/lib/flatpak/exports/share"
|
|
($env.HOME | path join ".local/share/flatpak/exports/share")
|
|
]
|
|
|
|
$env.XDG_DATA_DIRS = ($base_xdg | append $flatpak_xdg | str join ":")
|
|
|
|
$env.PYENV_ROOT = ($env.HOME | path join ".pyenv")
|
|
$env.PATH = ($env.PATH | split row (char env_sep) | prepend $'($env.PYENV_ROOT)/bin' | prepend $'($env.PYENV_ROOT)/shims')
|
|
alias sway = dbus-run-session sway
|