We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash
Environmental Info:
Linux hostname 6.10.5-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 14 15:49:44 UTC 2024 x86_64 GNU/Linux
Hauler Version:
1.0.7
Describe the Bug:
zsh
fish
hauler
Steps to Reproduce:
docker pull ghcr.io/hauler-dev/hauler:v1.0.7
docker run ghcr.io/hauler-dev/hauler:v1.0.7 completion bash
Expected Behavior:
if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_hauler hauler else complete -o default -o nospace -F __start_hauler hauler fi
Actual Behavior:
if [[ $(type -t compopt) = "builtin" ]]; then complete -o default -F __start_bash bash else complete -o default -o nospace -F __start_bash bash fi
Additional Context:
I was able to make things work but applying the following patch
diff --git a/cmd/hauler/cli/completion.go b/cmd/hauler/cli/completion.go index e42bf20..8d50263 100644 --- a/cmd/hauler/cli/completion.go +++ b/cmd/hauler/cli/completion.go @@ -9,7 +9,7 @@ import ( func addCompletion(parent *cobra.Command) { cmd := &cobra.Command{ - Use: "completion", + Use: "hauler completion", Short: "Generates completion scripts for various shells", Long: `The completion sub-command generates completion scripts for various shells.`, }
I will submit a PR later today with that change.
The text was updated successfully, but these errors were encountered:
Hey @a1994sc, thanks for submitting the issue and catching this. Looking forward to taking a look at the PR!
Sorry, something went wrong.
@zackbradys Submitted a PR!
hauler completion
Successfully merging a pull request may close this issue.
Environmental Info:
Linux hostname 6.10.5-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 14 15:49:44 UTC 2024 x86_64 GNU/Linux
Hauler Version:
1.0.7
Describe the Bug:
bash
/zsh
/fish
, nothauler
Steps to Reproduce:
docker pull ghcr.io/hauler-dev/hauler:v1.0.7
docker run ghcr.io/hauler-dev/hauler:v1.0.7 completion bash
Expected Behavior:
Actual Behavior:
Additional Context:
I was able to make things work but applying the following patch
I will submit a PR later today with that change.
The text was updated successfully, but these errors were encountered: