fish: Discourage use of rm
Add aliases for trash-cli and rm.
This commit is contained in:
parent
1377c62549
commit
15cca2050e
|
|
@ -18,3 +18,8 @@ alias t tree
|
||||||
|
|
||||||
# Replace htop with bottom
|
# Replace htop with bottom
|
||||||
alias htop 'btm -b'
|
alias htop 'btm -b'
|
||||||
|
|
||||||
|
# Replace rm with trash-cli
|
||||||
|
alias rm 'echo Please use trm instead of rm.'
|
||||||
|
alias trm 'trash-put'
|
||||||
|
alias trmf '/usr/bin/rm -rfv'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue