From f5076846923f18ac4dbe1134d8d2ed7643c145ad Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 21 Mar 2022 09:33:27 +0100 Subject: [PATCH] cool abbr for gcc and g++ --- installation.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation.sh b/installation.sh index 8ccc07a..d03c5b3 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 'gcc -Wall -Wextra -fanalyzer'" -fish -c "abbr g++ 'g++ -Wall -Wextra -fanalyzer -std=c++17'" +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 activate 'source bin/activate.fish'" fish -c "abbr vs 'code .'" fish -c "abbr untgz 'tar -xvzf'"