mirror of
https://git.sr.ht/~danbarber/dotfiles
synced 2025-03-04 08:59:18 +00:00
15 lines
496 B
Cheetah
15 lines
496 B
Cheetah
# XDG
|
|
export XDG_DATA_HOME=$HOME/.local/share
|
|
export XDG_CONFIG_HOME=$HOME/.config
|
|
export XDG_STATE_HOME=$HOME/.local/state
|
|
export XDG_CACHE_HOME=$HOME/.cache
|
|
{{ if eq .chezmoi.os "darwin" -}}
|
|
export XDG_RUNTIME_DIR=$HOME/.run
|
|
{{ else if eq .chezmoi.os "linux" -}}
|
|
export XDG_RUNTIME_DIR=/run/user/$UID
|
|
{{ end }}
|
|
# Tell various apps where to find their config
|
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
|
export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"
|
|
export ASDF_CONFIG_FILE="$XDG_CONFIG_HOME/asdf/asdfrc"
|