Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion with prefix which contains meta character.
- X-seq: zsh-workers 9233
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: completion with prefix which contains meta character.
- Date: 06 Jan 2000 17:04:47 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I tried to complete with prefix `*' but zsh doesn't work well.
Z(2):akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% _tst () { compadd -P '*' xxx }
is27e1u11% tst \*<TAB>
This doesn't complete anything.
is27e1u11% _tst () { compadd -P '\*' xxx }
is27e1u11% tst \*<TAB>
This doesn't complete anything too.
is27e1u11% _tst () { compadd -P '\\*' xxx }
is27e1u11% tst \*<TAB>
->
is27e1u11% tst \\*xxx
This re-quotes `\'. Anyway, current behaviour is unusable.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author