summaryrefslogtreecommitdiff
path: root/etc/functions/finfo
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/finfo')
-rw-r--r--etc/functions/finfo14
1 files changed, 0 insertions, 14 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})