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

Re: ${_comps[(K)*diff*]}



On Mar 9,  7:50pm, Andrej Borsenkow wrote:
} Subject: ${_comps[(K)*diff*]}
}
} Do I miss something?
} 
} bor@itsrm2% print ${_comps[(R)*diff*]}
} _diff _diff
} bor@itsrm2% print ${_comps[(K)*diff*]}
} === nothing ===

What you miss is that [(k)...] and [(K)...] don't do pattern-matching
on the keys.  I have an idea what's going wrong, but I don't have time
to fix it right now.

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



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