You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: export COMPLETE and _COMPLETE_INDEX env vars in bash/zsh completion hooks
The bash and zsh registration scripts set COMPLETE and _COMPLETE_INDEX
as shell variables inside $(...) subshells, but never export them.
This means the CLI binary does not see them in process.env, falls
through to normal arg parsing, and errors on the -- separator.
Fish and nushell are unaffected because they use inline prefix
syntax (COMPLETE=fish cmd ...) which always exports to the child.
Signed-off-by: LeTamanoir <martin.saldinger@kiln.fi>
0 commit comments