diff options
author | rsc <devnull@localhost> | 2004-05-14 17:45:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-05-14 17:45:39 +0000 |
commit | f1bfc54e12efe488e355debf696dbd999c62fe07 (patch) | |
tree | 4037221d2300fe3a8925f00da6984b26995158a2 /rcmain | |
parent | 1a8f27c35024af7b4ed857a388d20f0a4a560db0 (diff) | |
download | plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.gz plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.bz2 plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.zip |
More little bug fixes
Diffstat (limited to 'rcmain')
-rw-r--r-- | rcmain | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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' |