about summary refs log tree commit diff stats
path: root/profile/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile/profile')
-rw-r--r--profile/profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/profile/profile b/profile/profile index 9a81186..5faff51 100644 --- a/profile/profile +++ b/profile/profile
@@ -4,10 +4,13 @@
4# Source system profile 4# Source system profile
5source /etc/profile 5source /etc/profile
6 6
7# Local prefix
8export LOCAL_PREFIX="$HOME/usr"
9
7# XDG directories 10# XDG directories
8export XDG_CONFIG_HOME="$HOME/etc" 11export XDG_CONFIG_HOME="$HOME/etc"
9export XDG_CACHE_HOME="$HOME/var/cache" 12export XDG_CACHE_HOME="$HOME/var/cache"
10export XDG_DATA_HOME="$LOCAL_PATH/share" 13export XDG_DATA_HOME="$LOCAL_PREFIX/share"
11 14
12export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" 15export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
13export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}" 16export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}"