# HG changeset patch
# User Alexander Steinböck <z3ttacht@grml.org>
# Date 1202302590 -3600
# Node ID 765ad14f42b5236c81aa6fb42c7ea8373861608b
# Parent  7575ad4d3d0f94635fbaa47f32be238adb55018a
Changed single to double brackets for test statement.

diff -r 7575ad4d3d0f -r 765ad14f42b5 etc/zsh/completion.d/_grml-x
--- a/etc/zsh/completion.d/_grml-x	Thu Dec 27 23:52:50 2007 +0100
+++ b/etc/zsh/completion.d/_grml-x	Wed Feb 06 13:56:30 2008 +0100
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Nov 17 18:59:26 CET 2007 [mika]
+# Latest Change: Tue Feb 05 17:25:51 CET 2008 [z3ttacht]
 ################################################################################
 
 local arguments wm
@@ -16,7 +16,7 @@ for wm in awesome blackbox dwm evilwm fl
           gnome-session gnomesession icewm ion2 ion3 jwm larswm openbox    \
 	  particleman pekwm pwm3 ratpoison startkde twm w9wm windowlab wmi \
 	  wmii wm-ng xfce4 xfwm4 xmonad ; do
-    [ -x /usr/bin/$wm ] && wms+=$wm
+    [[ -x /usr/bin/$wm ]] && wms+=$wm
 done
 
 arguments=(
@@ -26,7 +26,7 @@ arguments=(
   '-help:[display help]'
   '-genmouse[generate generic entry for mouse using /dev/input/mice and auto protocol]'
   '-hsync:horizontal sync frequencies (<number>):(28 `seq 30 5 95` 96)'
-  '-mode:resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
+  '-mode:resolution-mode for xserver (<width>x<height> - e.g. 1024x768):(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
   '-module:module for xserver :(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
   '-nodpms[disable Display Power Management Signaling]'
   '-noddc[use static resolution modes for monitors without support for ddc probing]'

