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

Re: golf : $~pattern:t ?



On Dec 21,  9:13pm, Marc Chantreux wrote:
}
} files=( $~pattern )
} files=( $files:t )

Should work to do

	files=( $~pattern(:t) )

That is, use :t as a glob qualifier rather than as a parameter suffix.



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