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"
This commit is contained in:
parent
73ea36569e
commit
f3ed5754b1
1 changed files with 4 additions and 0 deletions
|
|
@ -2,4 +2,8 @@
|
||||||
cd $HOME
|
cd $HOME
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
PLAN9=${PLAN9:-/usr/local/plan9}
|
PLAN9=${PLAN9:-/usr/local/plan9}
|
||||||
|
if ! [[ :$PATH: =~ :$PLAN9/bin: ]]
|
||||||
|
then
|
||||||
|
PATH=$PATH:$PLAN9/bin
|
||||||
|
fi
|
||||||
$PLAN9/bin/9term -W600x800 &
|
$PLAN9/bin/9term -W600x800 &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue