aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rcmain6
1 files changed, 5 insertions, 1 deletions
diff --git a/rcmain b/rcmain
index 1da829c9..f4213632 100644
--- a/rcmain
+++ b/rcmain
@@ -23,7 +23,11 @@ if(! ~ $#cflag 0){
eval $cflag
}
if not if(flag i){
- if(~ $TERM 9term && ~ $#'fn#cd' 0) fn cd { builtin cd $1 && label `{pwd} }
+ if(~ $TERM 9term){
+ stty tabs -onlcr -echo
+ if(~ $#'fn#cd' 0)
+ fn cd { builtin cd $1 && label `{pwd} }
+ }
if(flag l && /bin/test -r $home/lib/profile) . $home/lib/profile
status=''
if(! ~ $#* 0) . $*