Bart Schaefer wrote:
I'd suggest a small change: alias ;rm='cd .. && rm -rf $OLDPWD' If for any reason the "cd" were to fail, unlikely as that may be, you wouldn't want to rm the wrong $OLDPWD.
cd failed ? all right : don't use lrm in / ! ;)