summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-02-10 00:17:33 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-02-10 00:17:33 +0100
commit8ae3b3514e85e544ffa8283e05ea9efc333f3e34 (patch)
treeed5f8fbf38ef3258789d939e6b859a3e86717d71 /root
parentoops.wrong.make.prev.commit (diff)
downloadn-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.gz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.bz2
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.lz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.xz
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.tar.zst
n-8ae3b3514e85e544ffa8283e05ea9efc333f3e34.zip
Diffstat (limited to 'root')
-rw-r--r--root/.bash_aliases5
-rwxr-xr-xroot/posodobi.sh2
2 files changed, 5 insertions, 2 deletions
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
diff --git a/root/posodobi.sh b/root/posodobi.sh
index fd52007..a48a7d4 100755
--- a/root/posodobi.sh
+++ b/root/posodobi.sh
@@ -1,7 +1,7 @@
#!/bin/bash
if grep "cron" <<<"$@" > /dev/null
then
- [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; }
+ # [ `ps aux | grep posod[o]bi | wc -l` -gt 1 ] && { echo posodobi.sh že teče. takole:; ps aux | grep posod[o]bi; exit 0; }
i=`sed s,^./,,g <<<$0`
t=`mktemp -p "" $i.XXX.html`
status=$?