]> git.madduck.net Git - etc/xsession.git/blobdiff - .xsession

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

cleanup
[etc/xsession.git] / .xsession
index f8f3ee887aaad96c7b9284bc0ebc0d3a60d5629b..bbe6b6ef1800bd206f91579b52aaf5221a8f2405 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -1,22 +1,16 @@
 #!/bin/zsh --login
 
 #!/bin/zsh --login
 
-set -eu
+set -u
 
 SHLVL=0
 
 while :; do
 
 SHLVL=0
 
 while :; do
-  : >| $HOME/.xsession-errors
-
   for script in $(run-parts --list $HOME/.xsession.d); do
     echo I: sourcing ${script:t}... >&2
     . $script
     echo I: done sourcing ${script:t}... >&2
   done
 
   for script in $(run-parts --list $HOME/.xsession.d); do
     echo I: sourcing ${script:t}... >&2
     . $script
     echo I: done sourcing ${script:t}... >&2
   done
 
-  echo I: waiting for child processes to complete... >&2
-  jobs >&2
-  wait
-
   [ -e $HOME/.xsession-exit ] && break
 
   echo "I: restarting xsession (touch $HOME/.xsession-exit to exit)..." >&2
   [ -e $HOME/.xsession-exit ] && break
 
   echo "I: restarting xsession (touch $HOME/.xsession-exit to exit)..." >&2