diff options
author | George Abbott <otg@gabbott.dev> | 2023-01-28 00:49:54 +0000 |
---|---|---|
committer | George Abbott <otg@gabbott.dev> | 2023-01-28 00:49:54 +0000 |
commit | 645f614cde6708204590152e94f18a6be7d51cf6 (patch) | |
tree | dcff4838d519b4bf9ad4632ebac4b2d41b17424a | |
parent | c11a90cf428cca744470a3f494d599a0ee47afc0 (diff) |
XDG + several other environment variables
-rw-r--r-- | profile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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 |