One of the few aliases I always use is:
alias rm='trash -i'
It will prompt you before moving files to the trash instead of deleting them straight away on macOS.I've also added the -i flag to the following:
alias mv='mv -i -v'
alias cp='cp -i -v'
alias ln='ln -i -v'
It warns me when a file might be overwritten in the target directory and will display a short protocol of the actions performed due to the 'verbose' flag.