Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion problems.
- X-seq: zsh-workers 7291
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Completion problems.
- Date: 27 Jul 1999 18:53:19 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I found a problem about the conditional expression for completion.
is27e1u11% autoload -U compinit; compinit -D
is27e1u11% _tst () { if [[ -prefix */ ]]; then compadd ../t; else compadd ../f; fi }
is27e1u11% compdef _tst tst
is27e1u11% tst ../<TAB>
Then, I get:
is27e1u11% tst ../f
I think it should be "../t ".
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author