Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _acpi
- X-seq: zsh-workers 20936
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _acpi
- Date: Sun, 6 Mar 2005 21:26:32 -0500
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
The actual option is --celcius, but I'm going to try to get this fixed.
Index: Completion/Linux/Command/_acpi
===================================================================
RCS file: Completion/Linux/Command/_acpi
diff -N Completion/Linux/Command/_acpi
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Linux/Command/_acpi 7 Mar 2005 02:25:01 -0000
@@ -0,0 +1,18 @@
+#compdef acpi
+
+_arguments \
+ '(-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]'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author