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/need-comp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/functions/need-comp') diff --git a/etc/functions/need-comp b/etc/functions/need-comp index a38b561..9326157 100644 --- a/etc/functions/need-comp +++ b/etc/functions/need-comp @@ -1,9 +1,9 @@ ## vim:ft=zsh check_comp() { - ((! $+_comps[$1])) && print $1 + ((! ${+_comps[$1]})) && print ${1} } { - for f ($^path/*(N:t)) check_comp $f + for f (${^path}/*(N:t)) check_comp ${f} } | sort -- cgit v1.2.3