'rm -I' a big hit!

Matthew Dillon dillon at apollo.backplane.com
Sat Oct 9 14:19:19 PDT 2004


    I have been running with this in my /etc/csh.cshrc for the last few days
    with a recent stable build (since the -I option is very new), as an
    experiment to see if it would annoy me.

	if ( $?prompt ) then
		alias rm 'rm -I'
	endif

    The /etc/profile equivalent, for sh users:

	alias rm='rm -I'

    Well, it hasn't annoyed me at all!  In fact, it has made me feel more
    comfortable using rm, even though I don't make the kinds of mistakes
    that rm -I saves one from anymore.

    I strongly recommend it to everyone, developers and users alike.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list