zsh-workers
 help / color / mirror / code / Atom feed
c05f61c51589a43323eaf4075b7e96157e99579a blob 380 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#compdef npm

# Node Package Manager completion, letting npm do all the completion work

if (( $+commands[npm] )); then
  eval "$(NPM_CONFIG_UPDATE_NOTIFIER=false npm completion)"
  # Monkey-patch their function to prevent update checks
  functions[_npm_completion]="
    local -x NPM_CONFIG_UPDATE_NOTIFIER=false;
    ${functions[_npm_completion]}
  "

  _npm_completion "$@"
fi
debug log:

solving c05f61c51 ...
found c05f61c51 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).