From 85319475ab723cd0ec785140afadf30b6475cc62 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 17 Jul 2019 10:19:28 +0200 Subject: [PATCH] [UPDATE][SHELL] Compiler aliases with flags --- shell/.aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/.aliases b/shell/.aliases index 5a18870..7eecfe6 100644 --- a/shell/.aliases +++ b/shell/.aliases @@ -31,3 +31,7 @@ alias histg='history | grep' alias myip='curl http://ipecho.net/plain; echo' #alias logs="find /var/log -type f -exec file {} \; | grep 'text' | cut -d' ' -f1 | sed -e's/:$//g' | grep -v '[0-9]$' | xargs tail -f" alias folders='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn' + +# Quick compilation with flags +alias clang++e='clang++ -Wall -Wextra -pedantic -Werror -std=c++17' +alias g++e='g++ -Wall -Wextra -pedantic -Werror -std=c++17'