diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-14 22:20:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-04-14 22:20:37 +0200 |
commit | a8f94856e940595aa3ba0c79d4c7172d4cc58589 (patch) | |
tree | 53a817a774c96592c5025313c2de3d154e6fa91e /etc/completions | |
parent | 245049d134096d6040db121c49c8327f9baa9f3d (diff) |
Removed fan completion
Diffstat (limited to 'etc/completions')
-rw-r--r-- | etc/completions/_fan | 20 |
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 -} |