From a1a37ea6b8fa859963c8fe686d82ce2d008cefcc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 12 Oct 2013 14:47:04 -0400 Subject: .profile: set XDG variables --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.profile') 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 -- cgit v1.2.3-2-g168b