From f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808 Mon Sep 17 00:00:00 2001 From: "KADOTA, Kyohei" Date: Wed, 14 Nov 2018 13:59:49 +0900 Subject: 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" --- mac/9term.app/Contents/MacOS/9term | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mac/9term.app/Contents/MacOS/9term b/mac/9term.app/Contents/MacOS/9term index ef6692c3..d6487348 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} +if ! [[ :$PATH: =~ :$PLAN9/bin: ]] +then + PATH=$PATH:$PLAN9/bin +fi $PLAN9/bin/9term -W600x800 & -- cgit v1.2.3