summaryrefslogtreecommitdiff
path: root/.config/bash
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:37:25 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-07 14:41:28 -0500
commite0004a60d46b7dc3eed863ab11129c2f3bac99fb (patch)
tree806a3bf3359de61c52eb7764dde877a6eb809400 /.config/bash
parent1d748948cf4598ae2cd96021114a9b5a361a16a8 (diff)
Bash: load xdg in case login settings were disabled.
Diffstat (limited to '.config/bash')
-rw-r--r--.config/bash/rc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/bash/rc.sh b/.config/bash/rc.sh
index ab690cf..7df0373 100644
--- a/.config/bash/rc.sh
+++ b/.config/bash/rc.sh
@@ -5,6 +5,10 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+# GDM failsafe ignores profile (login) settings, but I use XDG stuff
+# here.
+. "${XDG_CONFIG_HOME:-$HOME/.config}"/login.d/??_xdg.sh
+
# Why is this not on by default?
# "We have a cached value, but it isn't valid anymore. Should we trash it?"
# "Duh, yes!"