Skip to content

Commit

Permalink
Update watson.zsh-completion
Browse files Browse the repository at this point in the history
fix: autocompletion won't work with zsh 5.8
  • Loading branch information
snnwolf authored Jun 7, 2020
1 parent d23c507 commit 2b6ebd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion watson.zsh-completion
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#compdef watson
_watson_completion() {
local -a completions
local -a completions_with_descriptions
Expand Down Expand Up @@ -25,4 +26,4 @@ _watson_completion() {
compstate[insert]="automenu"
}

compdef _watson_completion watson;
_watson_completion

0 comments on commit 2b6ebd4

Please sign in to comment.