From ce04253da06f45981255ec8a73fd7f17f67d0ac7 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 23 Dec 2025 18:05:08 +0000 Subject: [PATCH] [shell-common] Add XDG exports --- shell-common/.config/shell-common/exports.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/shell-common/.config/shell-common/exports.sh b/shell-common/.config/shell-common/exports.sh index fef9810..72e6040 100644 --- a/shell-common/.config/shell-common/exports.sh +++ b/shell-common/.config/shell-common/exports.sh @@ -1,5 +1,14 @@ # User specific environment -PATH="$HOME/.local/bin:$HOME/bin:$PATH" + +# XDG Base Directories +export XDG_BIN_HOME="$HOME/.local/bin" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_RUNTIME_DIR="${TMPDIR}/runtime-${UID}" +export XDG_STATE_HOME="$HOME/.local/state" + +PATH="$XDG_BIN_HOME:$HOME/bin:$PATH" export PATH # User specific environment and startup programs