zsh-workers
 help / color / mirror / code / Atom feed
* non-symmetric behavior of _message and compadd
@ 2000-05-05  9:16 Tanaka Akira
  0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-05-05  9:16 UTC (permalink / raw)
  To: zsh-workers

Z(4):akr@serein% Src/zsh -f
serein% bindkey -e; autoload -U compinit; compinit -D
serein% zstyle ':completion*:messages' format %d
serein% compdef _tst1 tst1; _tst1 () { compadd c; _message m }        
serein% compdef _tst2 tst2; _tst2 () { _message m; compadd c } 

serein% tst1 <TAB>
->
serein% tst1 c 

serein% tst2 <TAB>
m
c

The completion behavior depends the order of compadd and _message.  If
compadd is preceded, `c' is completed.  If _message is preceded, the
list is showed.  Is this intentional?  I like former, though.
-- 
Tanaka Akira


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-05  9:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-05  9:16 non-symmetric behavior of _message and compadd Tanaka Akira

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).