Skip to content

Commit 831d617

Browse files
author
skywind3000
committed
improve clink 1.1 compatibility
1 parent 97fa941 commit 831d617

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

z.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- z.lua - a cd command that learns, by skywind 2018, 2019, 2020
55
-- Licensed under MIT license.
66
--
7-
-- Version 1.8.9, Last Modified: 2020/12/23 16:37
7+
-- Version 1.8.10, Last Modified: 2020/12/23 16:37
88
--
99
-- * 10x faster than fasd and autojump, 3x faster than z.sh
1010
-- * available for posix shells: bash, zsh, sh, ash, dash, busybox
@@ -2081,7 +2081,8 @@ function z_clink_init()
20812081
end
20822082
local z_parser = clink.arg.new_parser()
20832083
z_parser:set_arguments({ z_match_completion })
2084-
z_parser:set_flags("-c", "-r", "-i", "--cd", "-e", "-b", "--add", "-x", "--purge", "--init", "-l", "-s", "--complete", "--help", "-h")
2084+
z_parser:set_flags("-c", "-r", "-i", "--cd", "-e", "-b", "--add", "-x", "--purge",
2085+
"--init", "-l", "-s", "--complete", "--help", "-h")
20852086
clink.arg.register_parser("z", z_parser)
20862087
end
20872088

0 commit comments

Comments
 (0)