File: _acpi

package info (click to toggle)
zsh-beta 4.3.2-dev-1%2B20061127-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,260 kB
  • ctags: 6,846
  • sloc: ansic: 83,534; sh: 5,094; makefile: 781; perl: 746; awk: 364; sed: 16
file content (18 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#compdef acpi

_arguments -s \
    '(-b --battery)'{-b,--battery}'[battery information]' \
    '(-B --without-battery)'{-B,--without-battery}'[suppress battery information]' \
    '(-t --thermal)'{-t,--thermal}'[thermal information]' \
    '(-T --without-thermal)'{-T,--without-thermal}'[suppress thermal information]' \
    '(-a --ac-adapter)'{-a,--ac-adapter}'[ac adapter information]' \
    '(-A --without-ac-adapter)'{-A,--without-ac-adapter}'[suppress ac-adapter information]' \
    '(-V --everything)'{-V,--everything}'[show every device, overrides above options]' \
    '(-s --show-empty)'{-s,--show-empty}'[show non-operational devices]' \
    '(-S --hide-empty)'{-S,--hide-empty}'[hide non-operational devices]' \
    '(-c --celsius -f --fahrenheit -k --kelvin)'{-c,--celsius}'[use Celsius as the temperature scale]' \
    '(-c --celsius -f --fahrenheit -k --kelvin)'{-f,--fahrenheit}'[use Fahrenheit as the temperature scale]' \
    '(-c --celsius -f --fahrenheit -k --kelvin)'{-k,--kelvin}'[use Kelvin as the temperature scale]' \
    '(-d --directory)'{-d,--directory}'[path to ACPI info (/proc/acpi)]:directory:_files -/' \
    '(-h --help)'{-h,--help}'[display this help and exit]' \
    '(-v --version)'{-v,--version}'[output version information and exit]'