make rm move files to ~/.Trash instead

By default the rm command permanently deletes files. I wanted to make it move files to the “Recycling Bin” instead. After a bit of searching around, I found this:

alias rm='mv -t ~/.Trash'

I also learned that, to make the terminal re-read my .bashrc file, the command is:

source ~/.bashrc

Powered by ScribeFire.

~ by azimout on February 7, 2008.

Leave a Reply