Skip to content

Commit 48e553a

Browse files
authored
fix: make autocomplete on zsh usable (#676)
1 parent c901a0a commit 48e553a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/namespaces/autocomplete/autocomplete.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ var autocompleteScripts = map[string]autocompleteScript{
9494
// alias scw='go run "$HOME"/scaleway-cli/cmd/scw/main.go'
9595
// you might want to run 'compdef _scw go' during development.
9696
CompleteFunc: `
97+
autoload -U compinit && compinit
9798
_scw () {
9899
# splits $BUFFER, i.e. the complete command line,
99100
# into shell words using shell parsing rules by Expansion Flag (z) and puts it into an array

0 commit comments

Comments
 (0)