From f1bfc54e12efe488e355debf696dbd999c62fe07 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 14 May 2004 17:45:39 +0000 Subject: More little bug fixes --- rcmain | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rcmain') diff --git a/rcmain b/rcmain index b1f62620..9c50ca45 100644 --- a/rcmain +++ b/rcmain @@ -10,7 +10,7 @@ case 1 prompt=($prompt ' ') } if(~ $rcname ?.out ?.rc */?.rc */?.out) prompt=('broken! ' ' ') -if(flag p) path=(/bin) +if(flag p) path=(/bin /usr/bin) if not{ finit if(~ $#path 0) { @@ -28,9 +28,9 @@ if(! ~ $#cflag 0){ if not if(flag i){ if(~ $TERM 9term){ if(~ $#'fn#cd' 0) - fn cd { builtin cd $1 && label `{pwd} } + fn cd { builtin cd $1 && flag i && awd } } - if(flag l && /bin/test -r $home/lib/profile) . $home/lib/profile + if(flag l && test -r $home/lib/profile) . $home/lib/profile status='' if(! ~ $#* 0) . $* . -i '/dev/stdin' -- cgit v1.2.3