zsh-workers
 help / color / mirror / code / Atom feed
* npm completion
@ 2012-12-06 10:20 Bao Pham
  0 siblings, 0 replies; only message in thread
From: Bao Pham @ 2012-12-06 10:20 UTC (permalink / raw)
  To: zsh-workers

Hi zsh-workers,

Just a nudge for an updated npm completion script, since the current one only works for npm 0.3.15 and gives funny output for the new npm:

zsh > npm egrep: empty (sub)expression
\"\$\{COMP_WORDS\[@\]\}\"        npm \"\$\{COMP_WORDS\[@\]\}\"
\"\$\{COMP_WORDS\[@\]\}\"                    \\                                         
\"\$\{words\[@\]\}\"                         _npm_completion                            
\#                                           _npm_completion\(\)                        
\#\#\#-begin-npm-completion-\#\#\#           command                                    
\#\#\#-end-npm-completion-\#\#\#             compadd                                    
\$\(COMP_CWORD=\$\(\(CURRENT-1\)\)           compctl                                    
\$\?                                         compdef                                    
\&\>/dev/null\;                              complete                                   
\(\)                                         completion                                 
\(or                                         cword                                      
--                                           cword-=1          


Cheers,
Bao

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-06 10:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-06 10:20 npm completion Bao Pham

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).