trash not rm
Using "rm foo -Rfv" can be deadly, so lets make this safer!
using the cli tool 'trash-cli' and an alias we can make rm in to trash.
# install trash-cli, (apt-get install trash-cli) nano ~/.zsh # or your bashrc file alias del="trash" # del is shorter than trash
End of config
- correcting bad habbits::
- nano ~/.zshrc # or bashrc alias rm="echo Use 'del','trash' , or the full path i.e. '/bin/rm'
no more example