From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: completion with prefix which contains meta character.
Date: 06 Jan 2000 17:04:47 +0900 [thread overview]
Message-ID: <rsqogazy6ao.fsf@crane.jaist.ac.jp> (raw)
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
next reply other threads:[~2000-01-06 8:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-06 8:04 Tanaka Akira [this message]
2000-01-06 9:38 Sven Wischnowsky
2000-01-06 14:48 ` Tanaka Akira
2000-01-06 15:03 Sven Wischnowsky
2000-01-06 23:38 ` Tanaka Akira
2000-01-07 9:27 Sven Wischnowsky
2000-01-07 10:50 Sven Wischnowsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rsqogazy6ao.fsf@crane.jaist.ac.jp \
--to=akr@jaist.ac.jp \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).