mac tools

saferm

使用 rm 将文件移动到回收站而非直接删除
1
2
3
4
brew install trash

vim ~/.bash_profile
alias rm='trash -F'