urbit/main/app/ls/core.hook
2015-01-09 17:28:17 -08:00

15 lines
230 B
Plaintext

// /%%/subdir
// /===/lib/sh-utils
!:
|_ [hid=hide ~]
++ poke-ls-args
%+ args-into-gate .
|= [arg=path ~]
=+ lon=((hard arch) .^(%cy arg))
tang/[?~(r.lon leaf/"~" (subdir arg r.lon))]~
++ peer
|=
*
`+>
--