diff options
-rw-r--r-- | .xinitrc | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -15,11 +15,8 @@ XDG_SESSION_COOKIE= # run all system xinitrc shell scripts which will update $command if [ -d /etc/X11/xinit/xinitrc.d ]; then for i in /etc/X11/xinit/xinitrc.d/* ; do - if [ -x "$i" ]; then - . "$i" - fi + [[ -x "$i" ]] && . "$i" done - unset i fi # restore XDG_SESSION_COOKIE XDG_SESSION_COOKIE="$realxdgcookie" |