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"
9 lines
161 B
Bash
Executable file
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 &
|