Mac rm 文件到 trash,记一次手贱经历后的反思。
安装
brew install trash
配置
# vim ~/.bash_profile
alias rm=“trash”
# source ~/.bash_profile
然后就可以测试了。
Mac rm 文件到 trash,记一次手贱经历后的反思。
brew install trash
# vim ~/.bash_profile
alias rm=“trash”
# source ~/.bash_profile
然后就可以测试了。