Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: old or new style completion?
- X-seq: zsh-users 11897
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Atom Smasher <atom@xxxxxxxxxxx>
- Subject: Re: old or new style completion?
- Date: Sat, 29 Sep 2007 13:21:44 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20070929113631.33362.qmail@xxxxxxxxxxx>
- Mail-followup-to: Atom Smasher <atom@xxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070929113631.33362.qmail@xxxxxxxxxxx>
On Sat, Sep 29, 2007 at 11:36:27PM +1200, Atom Smasher wrote:
> i've got a verbose copy defined as an alias in my ~/.zshrc:
> alias cpv="rsync -phb --backup-dir=/tmp/rsync -e /dev/null --progress --"
[...]
The completion system will complete according to the expanded
text of the alias. Here, it will complete a rsync command using
the _rsync completion function.
Above it doesn't work as you'd expect because of the "--" that
seems to confuse the completion widget.
So it would seem to be a bug in the _rsync completion function.
If you ommit the "--", it seems to work OK.
Cheers,
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author