From f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2010 11:32:38 +0200 Subject: Replace $var by ${var} --- etc/functions/finfo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'etc/functions/finfo') diff --git a/etc/functions/finfo b/etc/functions/finfo index 62a5fe9..f0c9429 100644 --- a/etc/functions/finfo +++ b/etc/functions/finfo @@ -4,11 +4,11 @@ ## Usage: finfo typeset line -whichf $1 &> /dev/null || return 1 +whichf ${1} &> /dev/null || return 1 while read line; do - [[ $line == \#* ]] || break - [[ $line == *vim:ft=* ]] && continue - [[ $line == \#(autoload|compdef)* ]] && continue + [[ ${line} == \#* ]] || break + [[ ${line} == *vim:ft=* ]] && continue + [[ ${line} == \#(autoload|compdef)* ]] && continue echo ${line#(\#|)\# } -done < $(whichf $1) +done < $(whichf ${1}) -- cgit v1.2.3