From 657eab51d007a384e79c4993889604017b0ab95a Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 15 Nov 2022 23:07:05 -0800 Subject: [PATCH] Fix rm -I flag on linux --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index b290dd1..b98e77a 100644 --- a/init.zsh +++ b/init.zsh @@ -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"