Merge pull request #6638 from midden-fabler/dojo-gen-tab-complete

dojo: gen tab complete for non-base desks
This commit is contained in:
Pyry Kovanen 2023-06-09 13:41:23 +03:00 committed by GitHub
commit 0de6601f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1465,8 +1465,12 @@
?: =(%hood app)
(cat 3 '|' gen)
:((cury cat 3) ':' app '|' gen)
=/ pfix=path
/(scot %p our.hid)/[q:he-beam]/(scot %da now.hid)/gen/[app]
=+ [our=(scot %p our.hid) now=(scot %da now.hid)]
=/ =desk
?. .^(? %gu /[our]/[app]/[now]/$)
q:he-beam
.^(desk %gd /[our]/[app]/[now]/$)
=/ pfix=path /[our]/[desk]/[now]/gen/[app]
::
%^ tab-generators:auto pfix `app
%+ murn