plan9port/mac/9term.app/Contents/MacOS/9term
KADOTA, Kyohei f3ed5754b1 9term.app: add $PLAN9/bin to $PATH if not already in $PATH (#144)
9term set $PLAN9 if PLAN9 is not set. But $PATH is not set.
As a result, 9term exits with "exec devdraw: No such file or directory"
2018-11-13 23:59:49 -05:00

9 lines
161 B
Bash
Executable file

#!/bin/bash
cd $HOME
. ~/.bashrc
PLAN9=${PLAN9:-/usr/local/plan9}
if ! [[ :$PATH: =~ :$PLAN9/bin: ]]
then
PATH=$PATH:$PLAN9/bin
fi
$PLAN9/bin/9term -W600x800 &