-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
[cobra] Breaks gh tab completion #183
Comments
The description seems to have been introduced in spf13/cobra#1146. There was a fix to avoid adding descriptions in the menu completion, etc. of Bash in spf13/cobra#1509. I guess we can intercept this function, but the problem is that cobra seems to dynamically generate the function name for each command. We might detect the completion function name |
71d0736 I have pushed a workaround. Could you check if it works correctly? |
Works now. Thank you! |
Thank you! |
ble version: 0.4.0-devel3+8940434
Bash version: 5.1.8(1)-release (x86_64-pc-linux-gnu)
blesh tab completion breaks the gh one. The program has its own menu style tab completion which gets inserted. I have tested this with gh 2.6.0. I think it is using cobra. Maybe this can be generally fixed for all programs that use cobra?
The text was updated successfully, but these errors were encountered: