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

add an mv protection ?



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



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