Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: force overwrite in completions
- X-seq: zsh-workers 26576
- From: Arkadiusz Miskiewicz <arekm@xxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: force overwrite in completions
- Date: Wed, 18 Feb 2009 12:07:57 +0100
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <200902180938.n1I9cFQM014570@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200902180914.53604.arekm@xxxxxxxx> <200902180938.n1I9cFQM014570@xxxxxxxxxxxxxx>
On Wednesday 18 of February 2009, Peter Stephenson wrote:
> Arkadiusz Miskiewicz wrote:
> > I'm using zsh on a system which shares $HOME between two separate
> > servers and when using both at the same time, switching to root at
> > these (and so on) I sometimes get a question from mv asking me if I
> > want to overwrite a file over and over.
>
> Hmm.... is "mv" aliased to "mv -i"? If so, loading compinit with
> "autoload -U compinit" should stop the alias being used at this point.
> I ask because if mv is aliased then adding extra options on the end of
> the alias probably isn't the right fix.
No, it's not but somehow [1] dump file ends being created as root in user ~
directory and then
[arekm@tarm ~]$ LC_ALL=C mv a dump
mv: try to overwrite `dump', overriding mode 0644 (rw-r--r--)?
[1]. sudo zsh and such usage patterns
--
Arkadiusz MiÅkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author