* compstate[context]
@ 1999-10-25 15:02 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 1999-10-25 15:02 UTC (permalink / raw)
To: zsh-workers
When a completion is attempt after "A='", compstate[context] become
"command".
Z:akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% set -x
is27e1u11% A='<TAB>
...
+_complete:33> [[ command == command ]]
...
# Note that the line 33 of _complete is:
# if [[ "$compstate[context]" = command ]]; then
I think it should be "value".
--
Tanaka Akira
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-10-25 15:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-25 15:02 compstate[context] 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).