aboutsummaryrefslogtreecommitdiff
path: root/rcmain
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-05-14 17:45:39 +0000
committerrsc <devnull@localhost>2004-05-14 17:45:39 +0000
commitf1bfc54e12efe488e355debf696dbd999c62fe07 (patch)
tree4037221d2300fe3a8925f00da6984b26995158a2 /rcmain
parent1a8f27c35024af7b4ed857a388d20f0a4a560db0 (diff)
downloadplan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.gz
plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.bz2
plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.zip
More little bug fixes
Diffstat (limited to 'rcmain')
-rw-r--r--rcmain6
1 files changed, 3 insertions, 3 deletions
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'