From 8ae3b3514e85e544ffa8283e05ea9efc333f3e34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sat, 10 Feb 2024 00:17:33 +0100 Subject: b --- root/.bash_aliases | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'root/.bash_aliases') diff --git a/root/.bash_aliases b/root/.bash_aliases index bbe296d..a7a5a78 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -25,7 +25,9 @@ function c () { do grep ^- <<<$arg > /dev/null && fn=$arg done - gcc -g -Wall -Wextra -pedantic -Wformat -Wformat-security -o`rev <<<$arg | cut -d. -f2- | rev` $@ -lm + pedantic=-Wpedantic + [ x$NO_PEDANTIC = x ] && pedantic= + gcc -g -Wall -Wextra $pedantic -Wformat -Wformat-security -o`rev <<<$arg | cut -d. -f2- | rev` $@ -lm } alias pmbootstrap="pmbootstrap --as-root" HISTCONTORL=ignoreboth @@ -83,3 +85,4 @@ function j () { javac `sed 's/\.$/.java/' <<<$1` && java `sed -e s/.java// -e 's/\.$//' <<<$1` } alias gl="git log --graph" +export MPLBACKEND=gtk4agg -- cgit v1.2.3