aboutsummaryrefslogtreecommitdiff
path: root/rcmain
diff options
context:
space:
mode:
Diffstat (limited to 'rcmain')
-rw-r--r--rcmain2
1 files changed, 1 insertions, 1 deletions
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