Skip to content

Commit 1889a25

Browse files
mccoystrsc
authored andcommitted
rcmain: use new $termprog variable
R=rsc CC=plan9port.codebot https://codereview.appspot.com/12505045
1 parent 1670a24 commit 1889a25

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTORS

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Roger Peppe <[email protected]>
4444
4545
Sean McKean <[email protected]>
4646
Shenghou Ma <[email protected]>
47+
Steve McCoy <[email protected]>
4748
4849
Tim Newsham <[email protected]>
4950
Tony Lainson <[email protected]>

rcmain

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if(! ~ $#cflag 0){
2323
exit $status
2424
}
2525
if(flag i){
26-
if(~ $TERM 9term){
26+
if(~ $termprog 9term || ~ $termprog win){
2727
fn cd {
2828
# builtin cd $1 && flag i && awd
2929
# is not sufficient when running in a subshell

0 commit comments

Comments
 (0)