Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compdef error
- X-seq: zsh-users 10420
- From: Chris Johnson <cjohnson@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: compdef error
- Date: Fri, 23 Jun 2006 11:25:57 -0400
- In-reply-to: <20060623152144.GA15377@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20060623152144.GA15377@xxxxxxxxxxxxxxxx>
Chris Johnson sent me the following 0.8K:
> Hi. I've got two compdef calls in my .zshrc that make two commands
> complete like scp. These lines are:
>
> compdef iscp=scp
> compdef \\scp=scp
>
> The first makes a script I wrote complete like scp. The second makes
> the system scp complete like it should when I call it via \scp. (This
> didn't happen automatically at last check. \scp didn't use scp's
> completion.)
This parenthesized comment is not true. I don't know if it ever was
true, but \scp completes like scp out of the box now and I don't need
the second compdef statement. Removing it also makes my compdef error
go away.
Thanks for listening!
--
Chris Johnson
cjohnson@xxxxxxxxxx
http://www.cs.utk.edu/~cjohnson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author