commit 985b3a5ebe076f0e7bfc53ac9836f4e5fc415e6d (patch)
parent 6aaca7487511ed98ff65c2a6712bca9483e9a488
Author: Alex Karle <alex@alexkarle.com>
Date: Mon, 26 Dec 2022 15:37:59 -0500
acme: Use $PLAN9 instead of hardcoding /usr/lib
win(1) was broken on my deb install where I've put acme
in my /home dir.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/a b/bin/a
@@ -1,10 +1,11 @@
#!/bin/sh
+PLAN9=${PLAN9:-/usr/lib/plan9}
export PAGER=nobs
export EDITOR=editinacme # from 9fans.net/go
unset VISUAL
export TERM=dumb
export NO_COLOR=1
-export SHELL=/usr/lib/plan9/bin/rc
+export SHELL=$PLAN9/bin/rc
export PATH="$(dirname "$(readlink -f "$0")")/acme-scripts:$PATH"
acme -b -a \
-f /mnt/font/AtkinsonHyperlegible-Regular/12a/font \