github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/ddevapp/global_dotddev_assets/commands/web/autocomplete/npm (about) 1 #!/bin/bash 2 3 #ddev-generated 4 # set env variables required for nvm's bash completion script 5 COMP_WORDS=("$@") 6 COMP_CWORD=$(($# - 1)) 7 # run the actual script 8 _npm_completion 9 # output the result (which was stored in COMPREPLY) as a new-line delimited string 10 printf "%s\n" "${COMPREPLY[@]}"