Skip to content
New issue

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

Completion: check for compdef's existence #1357

Closed
hsk81 opened this issue Dec 28, 2023 · 1 comment
Closed

Completion: check for compdef's existence #1357

hsk81 opened this issue Dec 28, 2023 · 1 comment
Assignees

Comments

@hsk81
Copy link

hsk81 commented Dec 28, 2023

In .local/share/bash-completion/completions/avalanche.sh check for the existence of compdef, since otherwise every time a non-zsh shell is launched an error is thrown:

if command -v compdef &> /dev/null
then
    compdef _avalanche avalanche 
fi
@arturrez arturrez moved this from Backlog 🗄️ to Researching 📚 in Platform Engineering Group Mar 12, 2024
@arturrez arturrez self-assigned this Mar 12, 2024
@arturrez
Copy link
Contributor

this is caused by spf13/cobra#1529

@arturrez arturrez moved this from Researching 📚 to Paused 🧊 in Platform Engineering Group Mar 22, 2024
@github-project-automation github-project-automation bot moved this from Paused 🧊 to Done ✅ in Platform Engineering Group Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants