drum: sort cli connections

Sorts cli connections so that the user always boots into %dojo
regardless of their @p

Fixes: #2248
This commit is contained in:
Liam Fitzgerald 2020-04-25 07:21:41 +10:00
parent 2e3947e3c0
commit 37cd90a42b

View File

@ -386,7 +386,10 @@
::
++ se-adze :: update connections
^+ .
%+ roll ~(tap in eel)
%+ roll
%+ sort
~(tap in eel)
|=([[@ a=term] [@ b=term]] (aor a b))
=< .(con +>)
|: $:{gil/gill:gall con/_.} ^+ con
=. +>.$ con