summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-19 04:37:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-19 04:37:30 +0200
commitd0b95f06f69e748260217bcfad2390a34767ad15 (patch)
treee7df64e6c2defb3b5fb03d36f369d17446f2cf19 /etc
parentddeb208908583cf231cffc77218e0435c614aa49 (diff)
Remove unused functions whichf and plonkhost
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/finfo14
-rw-r--r--etc/functions/plonkhost4
2 files changed, 0 insertions, 18 deletions
diff --git a/etc/functions/finfo b/etc/functions/finfo
deleted file mode 100644
index f0c9429..0000000
--- a/etc/functions/finfo
+++ /dev/null
@@ -1,14 +0,0 @@
-## vim:ft=zsh
-## finfo - show function info
-## Assume that a function begins with an introduction, and print it
-## Usage: finfo <function name>
-typeset line
-
-whichf ${1} &> /dev/null || return 1
-
-while read line; do
- [[ ${line} == \#* ]] || break
- [[ ${line} == *vim:ft=* ]] && continue
- [[ ${line} == \#(autoload|compdef)* ]] && continue
- echo ${line#(\#|)\# }
-done < $(whichf ${1})
diff --git a/etc/functions/plonkhost b/etc/functions/plonkhost
deleted file mode 100644
index 6f62541..0000000
--- a/etc/functions/plonkhost
+++ /dev/null
@@ -1,4 +0,0 @@
-## vim:ft=zsh
-## "plonk" (as in ignore) a host via iptables
-## Usage: plonkhost <host>
-sudo iptables -I INPUT -s "${1}" -j DROP