diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-12 14:47:04 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-12 14:47:04 -0400 |
commit | a1a37ea6b8fa859963c8fe686d82ce2d008cefcc (patch) | |
tree | 88b04fdb838f7f7b20f1aabb1c78763fbd341fdf /.profile | |
parent | 9a3c1bf05ed68ca46863f05f24218cb0eaacc8f5 (diff) |
.profile: set XDG variables
Diffstat (limited to '.profile')
-rw-r--r-- | .profile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |