plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 1889a2578366ca17b4fee0b0641b4db183efd383
parent 1670a244d90342023fd84cee9fc01347aaed8abc
Author: Steve McCoy <mccoyst@gmail.com>
Date:   Tue, 13 Aug 2013 12:46:38 -0400

rcmain: use new $termprog variable

R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/12505045

Diffstat:
MCONTRIBUTORS | 1+
Mrcmain | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CONTRIBUTORS b/CONTRIBUTORS @@ -44,6 +44,7 @@ Roger Peppe <rogpeppe@gmail.com> Russ Cox <rsc@swtch.com> Sean McKean <smckean83@gmail.com> Shenghou Ma <minux.ma@gmail.com> +Steve McCoy <mccoyst@gmail.com> Ties Bos <gitbisector@gmail.com> Tim Newsham <tim.newsham@gmail.com> Tony Lainson <t.lainson@gmail.com> diff --git a/rcmain b/rcmain @@ -23,7 +23,7 @@ if(! ~ $#cflag 0){ exit $status } if(flag i){ - if(~ $TERM 9term){ + if(~ $termprog 9term || ~ $termprog win){ fn cd { # builtin cd $1 && flag i && awd # is not sufficient when running in a subshell