summaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile18
1 files changed, 17 insertions, 1 deletions
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