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
I cannot find any string BASH_COMP_DEBUG_FILE in the bash-completion repository. This is the issue in the completion scripts generated by helm. The completion script of helm seems to be generated by the command helm completion bash. The problematic completion code seems to be emitted by GenBashCompletion called at cmd/helm/completion.go L132 (helm/helm). The function GenBashCompletion seems to be defined in a golang library, spf13/cobra. The culprit is bash_completions.go L27 (spf13/cobra).
Yeah, this is a long standing issue with cobra, and PR's such as spf13/cobra#1321 have unfortunately been stuck waiting for a longish time. But I'm afraid there's nothing we can do about it here, a workaround is to turn nounset mode off.
Describe the bug
Pressing tab when using the
helm
cli cancels the command with the message "BASH_COMP_DEBUG_FILE: unbound variable"To reproduce
Expected behavior
Ideally we would expect the 'i' to expand to 'install'. Alternatively, the completion tab could simply be ignored.
Versions (please complete the following information)
echo "$BASH_VERSION"
: 5.1.4(1)-release(IFS=.; echo "${BASH_COMPLETION_VERSINFO[*]}")
: 2.11Debug trace
bash-completions-error-debug-dump.txt
The text was updated successfully, but these errors were encountered: