Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command completion taking ages
- X-seq: zsh-workers 10141
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Re: command completion taking ages
 
- Date: Tue, 14 Mar 2000 18:32:32 +0000
 
- In-reply-to: <200003141527.QAA08824@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <200003141527.QAA08824@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
 
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