summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/.xinitrc b/.xinitrc
index 97ffbcd..b1c6cc4 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -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"