Fix shellcheck completion

- fix wrong path completion
This commit is contained in:
Shohei YOSHIDA 2026-03-08 21:42:35 +09:00
parent cc7816fefc
commit 0f350f3bdb
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ _arguments \
"--norc[don't look for .shellcheckrc files]" \
'--rcfile=[specify configuration file over searching for one]:rcfile:_files' \
{-o,--enable=}"[give list of optional checks to enable (or 'all')]:error code" \
{-P,--source-path=}'[specify path when looking for sourced files]:_files -/' \
{-P,--source-path=}'[specify path when looking for sourced files]:path:_files -/' \
{-s,--shell=}'[specify dialect]:dialect:(sh bash dash ksh busybox)' \
{-S,--severity=}'[specify minimum severity of errors to consider]:severity:(error warning info style)' \
{-V,--version}'[print version information]' \