We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f448f2a commit d615051Copy full SHA for d615051
z.lua
@@ -2205,7 +2205,9 @@ _zlua_zsh_tab_completion() {
2205
local -a tmp=(${(f)"$(_zlua --complete "${words/_zlua/z}")"})
2206
_describe "directory" tmp -U
2207
}
2208
-compdef _zlua_zsh_tab_completion _zlua 2> /dev/null
+if [ "${+functions[compdef]}" -ne 0 ]; then
2209
+ compdef _zlua_zsh_tab_completion _zlua 2> /dev/null
2210
+fi
2211
]]
2212
2213
0 commit comments