From d0b95f06f69e748260217bcfad2390a34767ad15 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 19 Aug 2011 04:37:30 +0200 Subject: Remove unused functions whichf and plonkhost --- etc/functions/finfo | 14 -------------- etc/functions/plonkhost | 4 ---- 2 files changed, 18 deletions(-) delete mode 100644 etc/functions/finfo delete mode 100644 etc/functions/plonkhost (limited to 'etc') 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 -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 -sudo iptables -I INPUT -s "${1}" -j DROP -- cgit v1.2.3