Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: compdef error



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