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
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…
Add table
Add a link
Reference in a new issue