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

Re: command completion taking ages



On Mar 14,  4:27pm, Sven Wischnowsky wrote:
} Subject: Re: command completion taking ages
}
}   zstyle ':completion:*:*:-command-:*' tag-order 'maybe()' -
} 
}   maybe() { [[ -n $PREFIX ]] && comptry "$@" }

I wondered about that, but it's not a general solution for cases where
there are multiple tags and you DO want to order them when there IS a
non-empty prefix/suffix.  Is there some way for the function to say
"I didn't generate any matches, but don't try any more tags even so"?

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



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