Prevent erronious print of uname on shell open

This commit is contained in:
Alexander Rosenberg 2022-11-15 23:40:41 -08:00
parent 657eab51d0
commit b8e8ec9cd6
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 -i linux && rm_confirm_flag='-I'
uname | grep -i linux >/dev/null && rm_confirm_flag='-I'
alias rm="rm ${rm_confirm_flag}"
alias cp="cp -i"
alias mv="mv -i"