diff options
Diffstat (limited to 'etc/functions/need-comp')
-rw-r--r-- | etc/functions/need-comp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |