Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: two very simple questions
- X-seq: zsh-users 7919
- From: Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: two very simple questions
- Date: Tue, 24 Aug 2004 10:07:04 -0400
- In-reply-to: <27337A22-F557-11D8-BB07-000393ABF2F0@xxxxxxxxxxxxxxxxxx>; from wgscott@xxxxxxxxxxxxxxxxxx on Mon, Aug 23, 2004 at 03:52:47PM -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <27337A22-F557-11D8-BB07-000393ABF2F0@xxxxxxxxxxxxxxxxxx>
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