From 77efa1fb04d514342876e2e0ecd7812ff2dd9a6f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 21 Mar 2022 10:11:40 +0100 Subject: [PATCH] ignore err in rm for gcc/g++ --- installation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation.sh b/installation.sh index d03c5b3..7710c8a 100644 --- a/installation.sh +++ b/installation.sh @@ -62,8 +62,8 @@ fish -c "set -U fish_pager_color_progress brwhite --background=cyan" fish -c "abbr ls 'exa -glh'" fish -c "abbr cp 'cp -rv'" fish -c "abbr rm 'rm -rf'" -fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer main.cpp && ./a.out; rm a.out'" -fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -std=c++17 main.cpp && ./a.out; rm a.out'" +fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer main.cpp && ./a.out; rm a.out 2> /dev/null'" +fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -std=c++17 main.cpp && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr activate 'source bin/activate.fish'" fish -c "abbr vs 'code .'" fish -c "abbr untgz 'tar -xvzf'"