Updated node completion to the latest version
This commit is contained in:
parent
618761bbda
commit
8c04b8c79c
9
_node
9
_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
|
Loading…
Reference in New Issue