oh-my-bash/completions/npm.completion.sh
M 4fb778c405 Refactor "{{which,command -v} => _omb_util_{binary,command}_exists}"
`which` has been deprecated in Debian (at least, the rolling release
installed on chromebooks via Linux Containers)

https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1000974461

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:16 +09:00

10 lines
175 B
Bash

#! bash oh-my-bash.module
# npm (Node Package Manager) completion
# https://docs.npmjs.com/cli/completion
if _omb_util_command_exists npm
then
eval "$(npm completion)"
fi