summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshenv6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshenv b/.zshenv
index 9cce314..e25fcf0 100644
--- a/.zshenv
+++ b/.zshenv
@@ -1,3 +1,9 @@
+# XDG directories
+export XDG_CONFIG_HOME=$HOME/.config
+export XDG_CACHE_HOME=$HOME/.cache
+export XDG_DATA_HOME=$HOME/.local/share
+export XDG_STATE_HOME=$HOME/.local/state
+
typeset -U PATH path
path=("$HOME/.local/bin" "$path[@]")
if [[ -d "$HOME/.platformio" ]]; then