DragonFly BSD
DragonFly users List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

'rm -I' a big hit!


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Oct 2004 14:18:42 -0700 (PDT)

    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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]