diff options
author | KADOTA, Kyohei <lufia@users.noreply.github.com> | 2018-11-14 13:59:49 +0900 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2018-11-13 23:59:49 -0500 |
commit | f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808 (patch) | |
tree | 1b997f63ae817b69278f394ea6befdd0e3d325a8 /mac/9term.app/Contents | |
parent | 73ea36569e83560168cfd7e40d85d9d247bce593 (diff) | |
download | plan9port-f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808.tar.gz plan9port-f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808.tar.bz2 plan9port-f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808.zip |
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"
Diffstat (limited to 'mac/9term.app/Contents')
-rwxr-xr-x | mac/9term.app/Contents/MacOS/9term | 4 |
1 files changed, 4 insertions, 0 deletions
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 & |