diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-28 08:38:48 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-28 08:39:45 +0100 |
commit | f1b8308baf0d3a4f35ead3a723a6ceb827627d77 (patch) | |
tree | 90f3deaecfd398b177b25eecd56cbc6b3e92b6ea | |
parent | 3710942ec1d857fe2b51321bb68257fbbf8d6459 (diff) | |
download | dotfiles-f1b8308baf0d3a4f35ead3a723a6ceb827627d77.tar.gz dotfiles-f1b8308baf0d3a4f35ead3a723a6ceb827627d77.tar.bz2 dotfiles-f1b8308baf0d3a4f35ead3a723a6ceb827627d77.zip |
xinitrc: shorten xinitrc lookup abit
-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" |