Remove startfluxbox from zsh completion (might confuse too many users)
[grml-x.git] / etc / zsh / completion.d / _grml-x
1 #compdef grml-x
2 # Filename:      /etc/zsh/completion.d/grml-x
3 # Purpose:       completion for command grml-x for zsh (z shell)
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 # Latest change: Don Jul 12 01:27:03 CEST 2007 [mika]
8 ################################################################################
9
10 local arguments wm
11 local -a wms
12
13 wms=()
14
15 for wm in blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal gnome-session   \
16           gnomesession icewm ion2 ion3 jwm openbox pekwm pwm3 ratpoison       \
17           startkde twm w9wm windowlab wmi wmii wm-ng xfce4 xfwm4 ; do
18     [ -x /usr/bin/$wm ] && wms+=$wm
19 done
20
21 arguments=(
22   '-composite[enable composite extension (disabled by default)]'
23   '-display:display for xserver:(7 8)'
24   '-force[force creation of xconfig file]'
25   '-help:[display help]'
26   '-genmouse[generate generic entry for mouse using /dev/input/mice and auto protocol]'
27   '-hsync:horizontal sync frequencies (<number>):(28 `seq 30 5 95` 96)'
28   '-mode:resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
29   '-module:module for xserver :(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
30   '-nodpms[disable Display Power Management Signaling]'
31   '-noddc[use static resolution modes for monitors without support for ddc probing]'
32   '-nohsync[do not activate HorizSync-entry]'
33   '-nostart[do not start X server]'
34   '-nosynaptics[use a synaptics touchpad without synaptics driver/functions]'
35   '-nosync[do not use static horizontal and vertical sync frequencies but let it choose the X-server]'
36   '-novref[do not activate VertRefresh-entry]'
37   '-ps2[add entry for PS/2 mouse]'
38   '-usb[add entry for USB mouse]'
39   '-vsync:vertical sync frequencies (<number>):(43 `seq 45 5 70` 72)'
40   '-xinerama[try to set up multihead using Xinerama setup]'
41   ':window manager:($wms)'
42 )
43 _arguments -s $arguments
44
45 ## END OF FILE #################################################################
46 # vim:foldmethod=marker