2023-06-14 11:54:47 +02:00
|
|
|
# default configuration as per https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
|
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
|
|
export XDG_CACHE_HOME="$HOME/.cache"
|
|
|
|
export XDG_DATA_HOME="$HOME/.local/share"
|
|
|
|
export XDG_STATE_HOME="$HOME/.local/state"
|
|
|
|
|
|
|
|
# brew sbin
|
|
|
|
export PATH="/opt/homebrew/sbin:$PATH"
|
2023-06-14 14:22:21 +02:00
|
|
|
|
2023-06-14 11:54:47 +02:00
|
|
|
# brew lib
|
|
|
|
export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib"
|
|
|
|
|
|
|
|
# cargo
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
|
|
|
|
# language environment
|
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
|
|
|
|
# editor
|
|
|
|
export EDITOR=nvim
|
|
|
|
|
|
|
|
# go
|
2023-07-03 15:17:33 +02:00
|
|
|
export GOPATH="$XDG_DATA_HOME/go"
|
2023-06-14 11:54:47 +02:00
|
|
|
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
2023-07-03 15:17:33 +02:00
|
|
|
export PATH="$GOPATH/bin:$PATH"
|
2023-06-14 14:22:21 +02:00
|
|
|
|
|
|
|
# ggman
|
|
|
|
export GGROOT="$HOME/git"
|
2023-06-14 11:54:47 +02:00
|
|
|
|
|
|
|
# neovim
|
2023-06-14 12:37:37 +02:00
|
|
|
export PATH="$XDG_DATA_HOME/neovim/bin:$PATH"
|
2023-06-14 11:54:47 +02:00
|
|
|
|
|
|
|
# pyenv
|
|
|
|
export PYENV_ROOT="$XDG_DATA_HOME/.pyenv"
|
|
|
|
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|
|
|
|
|
|
|
# poetry
|
|
|
|
export POETRY_HOME="$XDG_DATA_HOME/poetry"
|
|
|
|
command -v poetry >/dev/null || export PATH="$POETRY_HOME/bin:$PATH"
|
2024-01-25 20:00:13 +01:00
|
|
|
|
|
|
|
# gnupg
|
|
|
|
export GPG_TTY=$TTY
|
|
|
|
|
|
|
|
# aflabs
|
|
|
|
export USER_UID=$(id -u)
|
|
|
|
export USER_GID=$(id -g)
|
|
|
|
|