X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fcompletion.d%2F_grml-x;h=6f01c8b2d3d2f533766a11a974eca77cb130018f;hb=3e6ee4dde45ae50598694bb5b39516fc3f991a72;hp=e2734a345435f8711ce003012f55621e82749786;hpb=d1d817a65dd8571333f359214add423e34fde128;p=grml-x.git diff --git a/etc/zsh/completion.d/_grml-x b/etc/zsh/completion.d/_grml-x index e2734a3..6f01c8b 100644 --- a/etc/zsh/completion.d/_grml-x +++ b/etc/zsh/completion.d/_grml-x @@ -4,7 +4,6 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # 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] ################################################################################ local arguments wm @@ -16,18 +15,19 @@ for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal \ 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=( '-composite[enable composite extension (disabled by default)]' - '-display:display for xserver:(7 8)' - '-force[force creation of xconfig file]' - '-help:[display help]' + '-display[display for xserver]:display:(7 8)' + '-fallback[use xorg.conf.example to get X running when it won'\''t start otherwise]' + '-force[force (re-)creation of xorg.conf file]' + '-help[display help]:' '-genmouse[generate generic entry for mouse using /dev/input/mice and auto protocol]' - '-hsync:horizontal sync frequencies ():(28 `seq 30 5 95` 96)' - '-mode:resolution-mode for xserver (x - 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//'`)' + '-hsync[horizontal sync frequencies ()]:hsync frequencies:(28 `seq 30 5 95` 96)' + '-mode[resolution-mode for xserver (x - e.g. 1024x768)]:resolutions:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)' + '-module[module for xserver]:modules:(`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]' '-nohsync[do not activate HorizSync-entry]' @@ -37,7 +37,7 @@ arguments=( '-novref[do not activate VertRefresh-entry]' '-ps2[add entry for PS/2 mouse]' '-usb[add entry for USB mouse]' - '-vsync:vertical sync frequencies ():(43 `seq 45 5 70` 72)' + '-vsync[vertical sync frequencies ()]:vsync frequencies:(43 `seq 45 5 70` 72)' '-xinerama[try to set up multihead using Xinerama setup]' ':window manager:($wms)' )