npmコマンドのオプションを補完するbash/zsh completion を適用してみた
補完の追加
npm completion >> ~/.bash_completion source ~/.bash_completion
追加した結果
takuya@air:~/Desktop$ npm <TAB><TAB> add-user config find-dupes isntall outdated remove set test v adduser ddp get issues owner repo show tst version apihelp dedupe help la pack restart shrinkwrap un view author deprecate help-search link prefix rm star uninstall whoami bin docs home list prune root stars unlink bugs edit i ll publish run-script start unpublish c explore info ln r s stop unstar cache faq init login rb se submodule up completion find install ls rebuild search tag update
楽になりそう。