Allow running the choose fonts kitten via a mapping easily

This commit is contained in:
Kovid Goyal 2024-07-05 12:17:14 +05:30
parent b8e6d6b058
commit 2dc478f7df
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -0,0 +1,6 @@
import os
def main(args: 'list[str]') -> None:
# allow running this kitten via map key kitten choose-fonts
os.execlp('kitten', 'kitten', *args)