aboutsummaryrefslogtreecommitdiff
path: root/mac/9term.app
diff options
context:
space:
mode:
Diffstat (limited to 'mac/9term.app')
-rwxr-xr-xmac/9term.app/Contents/MacOS/9term6
1 files changed, 5 insertions, 1 deletions
diff --git a/mac/9term.app/Contents/MacOS/9term b/mac/9term.app/Contents/MacOS/9term
index ef6692c3..e5ef2735 100755
--- a/mac/9term.app/Contents/MacOS/9term
+++ b/mac/9term.app/Contents/MacOS/9term
@@ -2,4 +2,8 @@
cd $HOME
. ~/.bashrc
PLAN9=${PLAN9:-/usr/local/plan9}
-$PLAN9/bin/9term -W600x800 &
+if ! [[ :$PATH: =~ :$PLAN9/bin: ]]
+then
+ PATH=$PATH:$PLAN9/bin
+fi
+$PLAN9/bin/9term -l -W600x800 &