]> gitweb.fluxo.info Git - rhatto/dotfiles/xsession.git/commitdiff
Fix: implement SETCDPATH workaround
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Jan 2022 17:35:45 +0000 (14:35 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 2 Jan 2022 17:35:45 +0000 (14:35 -0300)
xsessionrc.dot.link

index 07cf2dbfc7734b0b09ad48646df2ee124b4775cc..bb0871101a86bc688bee745b8c60913e4d71df33 100755 (executable)
@@ -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