mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-14 11:49:48 +00:00
Add flags to the z arg matcher for Clink.
This commit is contained in:
1
z.lua
1
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user