Added workaround for Cygwin, npm authors explicitly forbids it:
npm/lib/commands/completion.js
if (isWindowsShell) {
const msg = 'npm completion supported only in MINGW / Git bash on Windows'
throw Object.assign(new Error(msg), {
OPTIONS=color,hilite_pet,news
OPTIONS=number_pad
OPTIONS=!autopickup
OPTIONS=name:gavenkoa
OPTIONS=catname:Catty
OPTIONS=dogname:Doggy
OPTIONS=horsename:Loshadka