mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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
|
||||
. ~/.bashrc
|
||||
PLAN9=${PLAN9:-/usr/local/plan9}
|
||||
if ! [[ :$PATH: =~ :$PLAN9/bin: ]]
|
||||
then
|
||||
PATH=$PATH:$PLAN9/bin
|
||||
fi
|
||||
$PLAN9/bin/9term -W600x800 &
|
||||
|
|
Loading…
Reference in a new issue