From cef704209d12374dceb99d320ee65b0ebe60d65f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Mar 2009 13:17:10 +0100 Subject: finfo: Skip #compdef / #autoload --- etc/functions/finfo | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/functions/finfo b/etc/functions/finfo index a73606d..b771ef8 100755 --- a/etc/functions/finfo +++ b/etc/functions/finfo @@ -8,5 +8,6 @@ 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) -- cgit v1.2.3