* PATCH: _acpi
@ 2005-03-07 2:26 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-03-07 2:26 UTC (permalink / raw)
To: zsh-workers
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]'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-07 2:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 2:26 PATCH: _acpi Clint Adams
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).