mirror of
https://github.com/urbit/shrub.git
synced 2024-12-02 08:55:07 +03:00
clean up ra-console init code
This commit is contained in:
parent
cee4e6334e
commit
8a36b8d3d4
@ -1533,10 +1533,14 @@
|
||||
++ ra-console :: console subscribe
|
||||
|= {her/ship pax/path}
|
||||
^+ +>
|
||||
=+ man=`knot`?~(pax (main her) ?>(?=($~ t.pax) i.pax))
|
||||
=+ ^= she ^- shell
|
||||
[her man 0 *sole-share ~ [[%& our.hid man] ~ ~] [~ ~] ~ *cabal ~]
|
||||
sh-abet:~(sh-peer sh ~ she)
|
||||
=/ man/knot
|
||||
?+ pax !!
|
||||
$~ (main her)
|
||||
{@ta $~} i.pax
|
||||
==
|
||||
=/ she/shell
|
||||
%*(. *shell her her, man man, passive (sy [%& our.hid man] ~))
|
||||
sh-abet:~(sh-peer sh ~ `shell`she)
|
||||
::
|
||||
++ ra-subscribe :: listen to
|
||||
|= {her/ship pax/path}
|
||||
|
Loading…
Reference in New Issue
Block a user