From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: "Loïc Minier" <lool@dooz.org>, 465284@bugs.debian.org
Subject: Re: Bug#465284: Expansion of completion choices expanding to the same command don't complete
Date: Tue, 12 Feb 2008 21:30:34 -0500 [thread overview]
Message-ID: <20080213023034.GA3545@scowler.net> (raw)
In-Reply-To: <20080211164936.GA7200@bee.dooz.org>
On Mon, Feb 11, 2008 at 05:49:36PM +0100, Loïc Minier wrote:
> When I used to type:
> debcom<tab>
> it would expand to the full command with a final space:
> debcommit
> and I could then append flags to this command; perfect.
>
> Now that I aliases debcommit with:
> alias debcommit='debcommit -e -s'
> I get the expanded command without a final space:
> debcommit
> hitting tab a second time reveals that zsh sees two choices:
> % debcommit<tab>
> external command
> debcommit -- commit changes to a package
> alias
> debcommit
>
> I would like it if zsh would only consider the highest priority
> completion choice for commands as obviously I can't invoke the
> debcommit binary but only the debcommit alias here. Or it would be
> enough if zsh would append a space if all choices expans to the same
> thing.
This sounds very familiar.
next parent reply other threads:[~2008-02-13 2:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080211164936.GA7200@bee.dooz.org>
2008-02-13 2:30 ` Clint Adams [this message]
2008-02-13 4:03 ` Bart Schaefer
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=20080213023034.GA3545@scowler.net \
--to=schizo@debian.org \
--cc=465284@bugs.debian.org \
--cc=lool@dooz.org \
--cc=zsh-workers@sunsite.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).