Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compstate[context]
- X-seq: zsh-workers 8414
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: compstate[context]
- Date: 26 Oct 1999 00:02:56 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author