zsh-users
 help / color / mirror / code / Atom feed
* add an mv protection ?
@ 2006-05-03  9:40 Marc Chantreux
  2006-05-03  9:57 ` Frank Terbeck
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marc Chantreux @ 2006-05-03  9:40 UTC (permalink / raw)
  To: zsh-users

hi all,


imagine this case :

% echo *
a.pl b.pl
% mkdir old
% mv *pl

Here, i forget the target ( old ). The result is :

mv a.pl b.pl

i've lost the b.pl content!

is there a way to hook this case and ask a confirmation ?

thanks and regards
mc


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-03 10:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-03  9:40 add an mv protection ? Marc Chantreux
2006-05-03  9:57 ` Frank Terbeck
2006-05-03  9:58 ` Peter Stephenson
2006-05-03 10:06 ` Patrick Börjesson
2006-05-03 10:06 ` Marc Chantreux

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).