summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorAmin Bandali <mab@gnu.org>2020-01-27 14:29:26 -0500
committerAmin Bandali <mab@gnu.org>2020-01-27 14:29:26 -0500
commit8e0e429770ca3b727cc4b9cd321421201bdff019 (patch)
tree5c2e9f1f95de018cf6ba8a92ab579ac2ed8da532 /.profile
parent50a0ab3e142aa3aa1f339d848d89ff1648b8db25 (diff)
downloadconfigs-8e0e429770ca3b727cc4b9cd321421201bdff019.tar.gz
configs-8e0e429770ca3b727cc4b9cd321421201bdff019.tar.xz
configs-8e0e429770ca3b727cc4b9cd321421201bdff019.zip
xdg: export various XDG_*_DIR variables
Diffstat (limited to '.profile')
-rw-r--r--.profile6
1 files changed, 6 insertions, 0 deletions
diff --git a/.profile b/.profile
index 65221c4..b419e55 100644
--- a/.profile
+++ b/.profile
@@ -23,6 +23,12 @@ export INFOPATH
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
+if [ -f "$HOME/.config/user-dirs.dirs" ]; then
+ set -a
+ . "$HOME/.config/user-dirs.dirs"
+ set +a
+fi
+
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc