mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
rcmain: use new $termprog variable
R=rsc CC=plan9port.codebot https://codereview.appspot.com/12505045
This commit is contained in:
parent
1670a244d9
commit
1889a25783
2 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
|
|
2
rcmain
2
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
|
||||
|
|
Loading…
Reference in a new issue