/rc/bin/", /rc/bin/"": handle the venerable ; prompt
This commit is contained in:
parent
b0a61bc091
commit
82663f62be
2 changed files with 2 additions and 2 deletions
2
rc/bin/"
2
rc/bin/"
|
@ -5,7 +5,7 @@ rfork en
|
|||
if(test -r /mnt/acme/acme/body)
|
||||
bind /mnt/acme/acme/body /dev/text
|
||||
|
||||
PROMPT='[^ ]*%[ ]+'
|
||||
PROMPT='[^ ]'*'(%|;)[ ]+'
|
||||
|
||||
fn cmds {
|
||||
grep '^'$PROMPT'[^"]' /dev/text | sed 's/^/ /'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/rc
|
||||
|
||||
PROMPT='[^ ]*%+[ ]+'
|
||||
PROMPT='[^ ]*(%|;)+[ ]+'
|
||||
|
||||
_x = `{" $* | tail -1}
|
||||
if(~ $#_x 0) {
|
||||
|
|
Loading…
Reference in a new issue