From b8e8ec9cd6ba506d2d5b03f781f1fc0b0f9141fc Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 15 Nov 2022 23:40:41 -0800 Subject: [PATCH] Prevent erronious print of uname on shell open --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index b98e77a..f6573e3 100644 --- a/init.zsh +++ b/init.zsh @@ -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"