Skip to content

Commit 0992ebf

Browse files
author
skywind3000
committed
update z.lua
1 parent 83dfec0 commit 0992ebf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

z.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- z.lua - a cd command that learns, by skywind 2018-2022
55
-- Licensed under MIT license.
66
--
7-
-- Version 1.8.16, Last Modified: 2022/07/21 22:12
7+
-- Version 1.8.17, Last Modified: 2022/09/29 15:47
88
--
99
-- * 10x faster than fasd and autojump, 3x faster than z.sh
1010
-- * available for posix shells: bash, zsh, sh, ash, dash, busybox
@@ -2262,6 +2262,7 @@ _zlua_zsh_tab_completion() {
22622262
}
22632263
if [ "${+functions[compdef]}" -ne 0 ]; then
22642264
compdef _zlua_zsh_tab_completion _zlua 2> /dev/null
2265+
compdef ${_ZL_CMD:-z}=_zlua
22652266
fi
22662267
]]
22672268

0 commit comments

Comments
 (0)