日々精進

新しく学んだことを書き留めていきます

rmコマンドでゴミ箱にファイルを移動する

rmtrashを使う。

  • brew install rmtrashを実行する
  • zshrc等に「alias rm='rmtrash'」を追加

参考: