Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: new and updated completions



On Aug 8, 12:37pm, Oliver Kiddle wrote:
}
} +    [[ -e /etc/redhat-release ]] && args=( $args[@]

There is no reason, ever, to use $args[@].

Either ksharrays is set, in which case you need ${args[@]}, or it is not
set, in which case $args is equivalent and microscopically faster.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author