summaryrefslogtreecommitdiff
path: root/etc/completions/_fan
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions/_fan')
-rw-r--r--etc/completions/_fan20
1 files changed, 0 insertions, 20 deletions
diff --git a/etc/completions/_fan b/etc/completions/_fan
deleted file mode 100644
index 9549a35..0000000
--- a/etc/completions/_fan
+++ /dev/null
@@ -1,20 +0,0 @@
-#compdef fan
-## vim:ft=zsh
-## fan completion <https://derf.homelinux.org/~derf/code/fan>
-## Copyright (C) 2008 by Daniel Friesel <derf@derf.homelinux.org>
-## License: WTFPL <http://sam.zoy.org/wtfpl>
-
-local arguments_thinkpad arguments_generic
-
-arguments_thinkpad=(
- '::fan level:(low med high auto)'
-)
-arguments_generic=(
- ':fan state:(on off)'
-)
-
-if [[ -w /proc/acpi/ibm/fan ]] {
- _arguments -s $arguments_thinkpad
-} elif [[ -w /proc/acpi/fan/FAN/state ]] {
- _arguments -s $arguments_generic
-}