From 645f614cde6708204590152e94f18a6be7d51cf6 Mon Sep 17 00:00:00 2001 From: George Abbott Date: Sat, 28 Jan 2023 00:49:54 +0000 Subject: XDG + several other environment variables --- profile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/profile b/profile index 497061f..34aaf4b 100644 --- a/profile +++ b/profile @@ -8,9 +8,25 @@ PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/ ENV="~/.config/kshrc" # XDG -# todo, add +export XDG_CONFIG_HOME="$HOME/.config" +export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" +export XDG_STATE_HOME="$HOME/.local/state" +export XDG_RUNTIME_DIR="/var/xdgrun/$USER" +# Other +export GNUPGHOME="$XDG_DATA_HOME/gnupg" +export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" +# Rust +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export CARGO_HOME="$XDG_DATA_HOME/cargo" +export CARGO_INSTALL_HOME="$CARGO_HOME" +# Go +export GOPATH="$XDG_DATA_HOME/go" + +# pass +export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" export PATH HOME TERM ENV -- cgit v1.2.1