Compare commits

..

24 Commits

Author SHA1 Message Date
Shohei YOSHIDA 03bae0bf3f
Merge pull request #1277 from zsh-users/update-conan
Update conan completion to version v2.29
2026-06-26 14:50:53 +09:00
Shohei YOSHIDA 049f47829a
Merge pull request #1276 from zsh-users/support-debugger-flags
Support 'node inspect' specific flags
2026-06-26 12:11:05 +09:00
Shohei YOSHIDA 46d0330c99
Fix claude pointing outs 2026-06-26 10:14:46 +09:00
Shohei YOSHIDA 33a54893e3
fix missing argument parameters 2026-06-25 14:46:23 +09:00
Shohei YOSHIDA 473f4d9d19
fix typo 2026-06-25 12:13:31 +09:00
Shohei YOSHIDA 97e0c82d2c
update version 2026-06-25 12:11:09 +09:00
Shohei YOSHIDA 3340a40f64
Avoid using global variables, use local variables instead 2026-06-25 12:10:17 +09:00
Shohei YOSHIDA 5d82a3e724
every functions should return value 2026-06-25 12:08:38 +09:00
Shohei YOSHIDA f031b84aa8
update 'profile' command completion 2026-06-25 11:33:41 +09:00
Shohei YOSHIDA 81565c73e1
update 'remote' command completion 2026-06-25 11:21:35 +09:00
Shohei YOSHIDA 83e71a9f0b
Support 'node inspect' specific flags 2026-06-25 11:01:11 +09:00
Shohei YOSHIDA 9674907aea
update 'lock' command completion 2026-06-24 16:28:28 +09:00
Shohei YOSHIDA 7d74814449
update 'list' command completion 2026-06-24 14:00:12 +09:00
Shohei YOSHIDA 0716597f43
update 'export-pkg' command completion 2026-06-24 10:11:34 +09:00
Shohei YOSHIDA 678f859cac
update 'build' command completion 2026-06-24 10:05:00 +09:00
Shohei YOSHIDA 64e9cc76db
update 'graph' command completion 2026-06-24 09:55:02 +09:00
Shohei YOSHIDA 6ff45c8fc7
fix profile options issue
It was not excaped characters correctly
2026-06-24 09:36:05 +09:00
Shohei YOSHIDA 92b1ac0e51
update 'export' command completion 2026-06-24 09:08:35 +09:00
Shohei YOSHIDA e30bfd3582
update 'editable' command completion 2026-06-23 18:43:44 +09:00
Shohei YOSHIDA fd93dc2e75
update 'download' command completion 2026-06-23 18:37:38 +09:00
Shohei YOSHIDA cdec11a66b
update 'new' command completion 2026-06-23 18:34:28 +09:00
Shohei YOSHIDA a761ad30f7
update 'inspect' command completion 2026-06-23 18:34:17 +09:00
Shohei YOSHIDA ecc9750480
update 'cache' command completion 2026-06-23 17:44:46 +09:00
Shohei YOSHIDA 555fdbe3bc
Implement new subcommand completions 2026-06-23 17:17:41 +09:00
2 changed files with 716 additions and 283 deletions

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for Node.js v26.1.0 (https://nodejs.org)
# Completion script for Node.js v26.4.0 (https://nodejs.org)
#
# ------------------------------------------------------------------------------
# Authors
@ -87,6 +87,19 @@ _node() {
)
fi
local -a inspect_options=()
if [[ "$words[2]" == 'inspect' ]]; then
inspect_options+=(
'*--probe[source location of the probe]:location:_files'
'--expr[expression to evaluate of the preceding --probe each time execution reaches it]:expr'
'--max-hit[per-probe limit on evaluated hits, when not specified, there is no limit]::num'
'--json[output JSON, when not specified, human-readable text]'
'--preview[include V8 object previews in JSON output]'
'--timeout[global session timeout(default 30000ms)]:msecs'
'--port[inspector port for the debuggee(default or 0 use random port)]:port'
)
fi
local ret=1
_arguments \
@ -274,6 +287,7 @@ _node() {
'--watch-preserve-output[preserve outputs on watch mode restart]' \
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
$v8_options[@] \
$inspect_options[@] \
'(- 1 *)'{-h,--help}'[print node command line options]' \
'(- 1 *)'{-v,--version}'[print Node.js version]' \
'*: :_node_args' && ret=0