From 8c04b8c79c3e83b39236e2d2e1ab7bbb98f4a399 Mon Sep 17 00:00:00 2001 From: Nicholas Penree Date: Mon, 30 Jul 2012 14:53:33 -0400 Subject: [PATCH] Updated node completion to the latest version --- _node | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_node b/_node index 84c02d5..1c55304 100644 --- a/_node +++ b/_node @@ -28,13 +28,14 @@ # Description # ----------- # -# Completion script for Node.js v0.6.11 (http://nodejs.org) +# Completion script for Node.js v0.8.4 (http://nodejs.org) # # ------------------------------------------------------------------------------ # Authors # ------- # # * Mario Fernandez (https://github.com/sirech) +# * Nicholas Penree (https://github.com/drudge) # # ------------------------------------------------------------------------------ # -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*- @@ -47,10 +48,14 @@ typeset -A opt_args _arguments -C \ '(- 1 *)--help[print options help]' \ '(- 1 *)'{-v,--version}'[print node version]' \ + '(- 1 *)--no-deprecation[silence deprecation warnings]' \ + '(- 1 *)--trace-deprecation[show stack traces on deprecations]' \ '(- 1 *)--v8-options[print v8 command line options]' \ + '(- 1 *)--max-stack-size=[set max v8 stack size (bytes)]' \ '(-e --eval)'{-e,--eval}'[evaluate script]:Inline Script' \ + '(-i --interactive)'{-i,--interactive}'[always enter the REPL even if stdin does not appear to be a terminal]' \ '(-p --print)'{-p,--print}'[print result of --eval]' \ '(--vars)--vars[print various compiled-in variables]' \ '*:JS Script:_files -g "*.js"' && ret=0 -return ret +return ret \ No newline at end of file