Skip to content

Commit fb6bd61

Browse files
committed
update zsh
1 parent bcce855 commit fb6bd61

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

autocomplete/zsh_autocomplete

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
_cli_zsh_autocomplete() {
1+
#compdef _stephere step
22

3+
function _stephere {
34
local -a opts
45
opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}")
56

67
_describe 'values' opts
78

89
return
910
}
10-
11-
compdef _cli_zsh_autocomplete $PROG

cmd/step/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ func main() {
5353
cli.FlagNamePrefixer = usage.FlagNamePrefixer
5454
cli.FlagStringer = stringifyFlag
5555

56-
os.Setenv("_CLI_ZSH_AUTOCOMPLETE_HACK", "1")
5756
// Configure cli app
5857
app := cli.NewApp()
5958
app.Name = "step"

0 commit comments

Comments
 (0)