summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.profile b/.profile
index e5e593f..c5846e0 100644
--- a/.profile
+++ b/.profile
@@ -10,6 +10,12 @@
# for ssh logins, install and configure the libpam-umask package.
umask 022
+[[ -n $XDG_DATA_HOME ]] || export XDG_DATA_HOME="$HOME/.local/share"
+[[ -n $XDG_CONFIG_HOME ]] || export XDG_CONFIG_HOME="$HOME/.config"
+[[ -n $XDG_DATA_DIRS ]] || export XDG_DATA_DIRS="/usr/local/share/:/usr/share"
+[[ -n $XDG_CONFIG_DIRS ]] || export XDG_CONFIG_DIRS="/etc/xdg"
+[[ -n $XDG_CACHE_HOME ]] || export XDG_CACHE_HOME="$HOME/.cache"
+
## Paths #############################################################
# Unix