X-Git-Url: https://git.madduck.net/etc/xsession.git/blobdiff_plain/6f1a4b6dbb0f19265df48d27003426309747d31f..b92c085320457cbc188ca8e5b54148926f8fa1ca:/.xsession?ds=sidebyside diff --git a/.xsession b/.xsession index f8f3ee8..2550f2b 100755 --- a/.xsession +++ b/.xsession @@ -1,22 +1,14 @@ #!/bin/zsh --login -set -eu - -SHLVL=0 +set -u 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 - 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