diff options
Diffstat (limited to 'sh/.profile')
-rw-r--r-- | sh/.profile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sh/.profile b/sh/.profile index 819d832..3b7e561 100644 --- a/sh/.profile +++ b/sh/.profile @@ -15,7 +15,12 @@ export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u "$USER")}" -export MAIL="/var/mail/$USER" +export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" +export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS:-/etc/xdg}" + +if [ -e "$HOME/.config/user-dirs.dirs" ]; then + export $(xargs <"$HOME/.config/user-dirs.dirs") +fi export PATH="$PATH:$HOME/.local/bin" |