Fix rm -I flag on linux

This commit is contained in:
Alexander Rosenberg 2022-11-15 23:07:05 -08:00
parent cadec731af
commit 657eab51d0
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -50,7 +50,7 @@ export LESS="--mouse"
# Safer file functions
local rm_confirm_flag='-i'
uname | grep linux && rm_confirm_flag='-I'
uname | grep -i linux && rm_confirm_flag='-I'
alias rm="rm ${rm_confirm_flag}"
alias cp="cp -i"
alias mv="mv -i"