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 and jmaupetit committed Mar 9, 2021
1 parent a7a687c commit 9222481
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Upgrade to major arrow release 1.0.0 (#407)

### Fixed

- Zsh completion (#379)

### Removed

- Python 2.7 support (#305).
Expand Down
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 9222481

Please sign in to comment.