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 bcce855 commit fb6bd61Copy full SHA for fb6bd61
autocomplete/zsh_autocomplete
@@ -1,11 +1,10 @@
1
-_cli_zsh_autocomplete() {
+#compdef _stephere step
2
3
+function _stephere {
4
local -a opts
5
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
6
7
_describe 'values' opts
8
9
return
10
}
-
11
-compdef _cli_zsh_autocomplete $PROG
cmd/step/main.go
@@ -53,7 +53,6 @@ func main() {
53
cli.FlagNamePrefixer = usage.FlagNamePrefixer
54
cli.FlagStringer = stringifyFlag
55
56
- os.Setenv("_CLI_ZSH_AUTOCOMPLETE_HACK", "1")
57
// Configure cli app
58
app := cli.NewApp()
59
app.Name = "step"
0 commit comments