From: Amin Bandali Date: Mon, 27 Jan 2020 19:29:26 +0000 (-0500) Subject: xdg: export various XDG_*_DIR variables X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8e0e429770ca3b727cc4b9cd321421201bdff019?hp=50a0ab3e142aa3aa1f339d848d89ff1648b8db25 xdg: export various XDG_*_DIR variables --- 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