mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Set up terminal properly for 9term.
This commit is contained in:
parent
e89321a56e
commit
5a82f26e50
1 changed files with 5 additions and 1 deletions
6
rcmain
6
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) . $*
|
||||
|
|
Loading…
Reference in a new issue