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

Re: force overwrite in completions



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.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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