diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c49c9cdb..b62df5cc 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -44,6 +44,7 @@ Roger Peppe Russ Cox Sean McKean Shenghou Ma +Steve McCoy Ties Bos Tim Newsham Tony Lainson diff --git a/rcmain b/rcmain index 448de029..461cb3ec 100644 --- 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