mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 23:08:00 +00:00
9f37fc9841
Move `grunt` and `gulp` to separate completion definitions wrapping `grunt --completion=zsh` and `gulp --completion=zsh` respectively. Since the completions are loaded lazily on demand, they avoid the performance overhead during Zsh initialization. Additionally, remove `npm` completion since it is already bundled with Zsh for quite a while.
16 lines
251 B
Plaintext
16 lines
251 B
Plaintext
#compdef gulp
|
|
#autoload
|
|
|
|
#
|
|
# Gulp completion, delegating to gulp to do all the completion work.
|
|
#
|
|
# Authors:
|
|
# Indrajit Raychaudhuri <irc@indrajit.com>
|
|
#
|
|
|
|
if (( $+commands[gulp] )); then
|
|
eval "$(gulp --completion=zsh)"
|
|
|
|
_gulp_completion "$@"
|
|
fi
|