[_custom.sh]: disable trash-cli for default

This commit is contained in:
Jesús 2021-06-20 12:22:41 -05:00
parent a210669f97
commit 3f088cdc68
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -55,6 +55,6 @@ if [[ -f /usr/share/doc/pkgfile/command-not-found.bash ]]; then source /usr/shar
#---------------
# Trash-cli
#---------------
if command -v trash &> /dev/null; then alias rm='echo "This is not the command you are looking for."; false'; else true; fi
# if command -v trash &> /dev/null; then alias rm='echo "This is not the command you are looking for."; false'; else true; fi
# Then, if you really want to use rm, simply prepend a slash to bypass the alias:
# \rm file-without-hope