summaryrefslogtreecommitdiff
path: root/etc/completions/_toshset
blob: c23d76ca6eba1e5d431aa0ed3cb73244ca612f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#compdef toshset
## vim:ft=zsh
## completion for toshset 1.73-2, based toshset(1) and a Toshiba Satellite 2670
## Copyright (C) 2008 by Daniel Friesel <derf@derf.homelinux.org>
## License: WTFPL <http://sam.zoy.org/wtfpl>

local arguments

arguments=(
	'-l[long query]'
	'-fast[fast mode]'
	'-v[verbose mode]'
	'-q[query current settings]'
	'-b[set system beep]:toggle:(on off)'
	'-lcd[set lcd brightness]:brightness:(semi bright super-bright)'
	'-inten[set display intensity]:intensity:(0 1 2 3 4 5 6 7)'
	'-pow[set power-up mode]:mode:(boot resume hibernate quick)'
	'-vol[set beep volume]:volume:(off low medium high)'
	'-hdd[set minutes until hdd spindown]:spindown time: '
	'-dstrech[set display stretch]:toggle:(on off)'
	'-d[set minutes until display auto-off]:time: '
	'-c[set cooling method]:cooling method:(perform quiet other)'
	'-bs[set battery-save mode]:mode:(user full low economy normal long full)'
	'-bl[set backlight]:toggle:(on off)'
	'-bluetooth[set bluetooth]:toggle:(on off)'
	'-fan[set fan speed]:fan speed:(off 1/4 2/4 3/4 high on low)'
	'-video[set video device]:video device:(int ext both tv mode5 mode6 mode7'
	'-cpu[set cpu speed]:cpu speed:(slow fast)'
	'-cpucache[set cpu cache]:toggle:(on off)'
	'-sleep[set cpu sleep mode]:toggle:(on off)'
	'-balarm[set battery alarm]:toggle:(on off)'
	'-palarm[set lid-closed alarm]:toggle:(on off)'
	'-walarm[set time/date to wake]:time: '
	'-ppower[set power-off when lid is closed]:toggle:(on off)'
	'-parallel[set parallel port mode]:mode:(ecp spp ps2)'
	'-autooff[minutes of idle until system shuts down]:minutes: '
	'-ostring[set owner string]:name: '
	'-upasswd[set user password]'
	'-spasswd[set supervisor password]'
	'-usblegacy[toggle usb legacy mode]'
	'-usbfdd[toggle usb fdd emulation mode]'
	'-lan[toggle internal lan controller on/off]:toggle:(disable enable)'
	'-soundlogo[toggle startup sound logo]'
	'-startlogo[toggle startup logo]'
	'-trmode[toggle display transflective mode]'
)

_arguments -s ${arguments}