Today's changes.
This commit is contained in:
parent
0023dde326
commit
cb27443abf
8 changed files with 87 additions and 6 deletions
9
rcmain
9
rcmain
|
|
@ -10,15 +10,18 @@ case 1
|
|||
prompt=($prompt ' ')
|
||||
}
|
||||
if(~ $rcname ?.out) prompt=('broken! ' ' ')
|
||||
if(flag p) path=/bin
|
||||
if(flag p) path=(/bin)
|
||||
if not{
|
||||
finit
|
||||
if(~ $#path 0) . <{/bin/sh -c 'echo $PATH |
|
||||
if(~ $#path 0) {
|
||||
path=(/bin /usr/bin)
|
||||
. <{sh -c 'echo $PATH |
|
||||
sed "s/^/path=(''/; s/$/'')/; s/:/'' ''/g"'}
|
||||
}
|
||||
}
|
||||
fn sigexit
|
||||
if(! ~ $#cflag 0){
|
||||
if(flag l && /bin/test -r $home/lib/profile) . $home/lib/profile
|
||||
if(flag l && test -r $home/lib/profile) . $home/lib/profile
|
||||
status=''
|
||||
eval $cflag
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue