about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-04-02 19:21:18 +0000
committerClint Adams <clint@users.sourceforge.net>2001-04-02 19:21:18 +0000
commitcceb2667651f3f4500be1b44aff2bf95e0beed7b (patch)
tree56a152f996d07bc1bf0c28e753cae8d6da3fbd64 /Completion/Linux
parentba3c26acfd2679b3363bb4a9eb15e0afd3a4148e (diff)
downloadzsh-cceb2667651f3f4500be1b44aff2bf95e0beed7b.tar.gz
zsh-cceb2667651f3f4500be1b44aff2bf95e0beed7b.tar.xz
zsh-cceb2667651f3f4500be1b44aff2bf95e0beed7b.zip
13889: move _apm to Unix/Command, add OpenBSD support
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/.distfiles4
-rw-r--r--Completion/Linux/_apm40
2 files changed, 0 insertions, 44 deletions
diff --git a/Completion/Linux/.distfiles b/Completion/Linux/.distfiles
deleted file mode 100644
index 09fa19330..000000000
--- a/Completion/Linux/.distfiles
+++ /dev/null
@@ -1,4 +0,0 @@
-DISTFILES_SRC='
-.distfiles
-_apm
-'
diff --git a/Completion/Linux/_apm b/Completion/Linux/_apm
deleted file mode 100644
index 53dc296c3..000000000
--- a/Completion/Linux/_apm
+++ /dev/null
@@ -1,40 +0,0 @@
-#compdef apm
-
-# this needs intelligence
-local kludge=linux
-
-if [[ $kludge == "linux" ]]
-then
-
-_arguments -C -s \
-    '(--version)-V[print the apm program and exit immediately]' \
-    '(-V)--version[print the apm program and exit immediately]' \
-    '(--verbose)-v[print information about APM BIOS and Linux APM driver version]' \
-    '(-v)--verbose[print information about APM BIOS and Linux APM driver version]' \
-    '(--minutes)-m[print total minutes remaining instead of using an hh:mm format]' \
-    '(-m)--minutes[print total minutes remaining instead of using an hh:mm format]' \
-    '(--suspend)-s[put the machine into suspend mode if possible]' \
-    '(-s)--suspend[put the machine into suspend mode if possible]' \
-    '(--stanbdby)-S[put the machine into standby mode if possible]' \
-    '(-S)--standby[put the machine into standby mode if possible]' \
-    '(--noignore)-n[tell the system not to ignore system-generated APM message]' \
-    '(-n)--noignore[tell the system not to ignore system-generated APM message]' \
-    '(--ignore)-i[tell the system to ignore system-generated APM message]' \
-    '(-i)--ignore[tell the system to ignore system-generated APM message]'
-
-else
-     
-_arguments -C \
-     '-a[display AC line status]' \
-     '-b[display battery status]' \
-     '-d[disable/enable display suspension]:bool:' \
-     '-e[disable/enable apm functions]:bool:' \
-     '-h[disable/enable HLT in kernel context switch]:bool:' \
-     '-l[display remaining battery percentage]' \
-     '-r[enable resume wakeup timer]' \
-     '-s[display status of APM support]' \
-     '-t[display estimated remaining battery life in seconds]' \
-     '-Z[transition system into standby mode]' \
-     '-z[suspend the system]'
-
-fi