aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxsessionrc.dot.link5
1 files changed, 4 insertions, 1 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index 07cf2db..bb08711 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -85,7 +85,10 @@ export SSH_ASKPASS="/usr/lib/ssh/x11-ssh-askpass"
#fi
# Make sure to load the profile
-. $HOME/.profile
+#
+# Use SETCDPATH workaround as there might be some weird bug
+# somewhere killing the X11 session if CDPATH is set.
+SETCDPATH=false && . $HOME/.profile
# Additional applications depending on the machine type
#if laptop-detect; then