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

Re: two very simple questions



I can't help with the second one, but the first one does have a work
around:

alias mv='nocorrect mv'
alias cp='nocorrect cp'

This will disable correction for these two commands.  See Bart's points
about why this might be a good idea (or not).

--Jason

On Mon, Aug 23, 2004 at 03:52:47PM -0700, William Scott wrote:
> Hi Folks:
> 
> 1.  I realize this one deserves a RTFM answer, but I haven't been able 
> to find it.
> 
> If I type
> 
> cp file1.txt file2.txt
> 
> and file2.txt doesn't already exist, zsh offers to "correct" the second 
> argument by making it file1.txt.
> 
> Same with mv
> 
> This is really annoying. Is there a way to turn off the correction 
> mechanism for the second argument but not the first?



Messages sorted by: Reverse Date, Date, Thread, Author