From c0ff299d6770269326b8e7332e7f6bf415ea91a9 Mon Sep 17 00:00:00 2001 From: Chris Antos Date: Wed, 23 Dec 2020 14:48:48 -0800 Subject: [PATCH] Add flags to the `z` arg matcher for Clink. --- z.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/z.lua b/z.lua index a5b762d..42e84e2 100755 --- a/z.lua +++ b/z.lua @@ -2081,6 +2081,7 @@ function z_clink_init() end local z_parser = clink.arg.new_parser() z_parser:set_arguments({ z_match_completion }) + z_parser:set_flags("-c", "-r", "-i", "--cd", "-e", "-b", "--add", "-x", "--purge", "--init", "-l", "-s", "--complete", "--help", "-h") clink.arg.register_parser("z", z_parser) end