Fix Zsh completion
Currently, trying to get completion for `brew services` results in `a completion function is not defined for command or alias: services` and no actual completions. This is because `#compdef brew` in _brew_services conflicts with an identical statement in _brew, causing Zsh's compinit to not load _brew_services at all. This commit fixes that by instead declaring that this file defines completion for `brew services` only.
This commit is contained in:
parent
d3176c4e0b
commit
306b379e14
|
@ -1,4 +1,4 @@
|
|||
#compdef brew
|
||||
#compdef 'brew services'
|
||||
#autoload
|
||||
|
||||
__brew_installed_services() {
|
||||
|
|
Loading…
Reference in New Issue