[Snap] Fix bash completion
See original GitHub issueBash completion currently does not work in the Snap package. See how it could be fixed. Interesting links:
- https://snapcraft.io/docs/tab-completion-for-snaps
- https://forum.snapcraft.io/t/debugging-tab-completion/4198
The first thing is to adapt that line: https://github.com/httpie/httpie/blob/b7300c1096796dce127152016dbc138145bf1001/extras/httpie-completion.bash#L13 It must be changed to:
complete -o default -F _http_complete http https httpie.http httpie.https
And then, debug why it does not work 😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Bash completion not working at all - what am I missing? - snap
Hi, I was trying to get an upstream bash completion binary usable in a snap I'm working on. I tried lots of things, ......
Read more >How do you add Bash autocompletion to a snap that doesn't ...
This can be done by creating the following autocompletion script (I've called it livepatch-completion ): # canonical-livepatch completion ...
Read more >bash-completion not working on core18-base classic snap
If I run commands in step 5 and manually load completion from a shell in the snap, it works. note that "core" needs...
Read more >[Solved] Tab Completion Not Working in Ubuntu & Debian
Further troubleshooting the auto completion ... Normally, this should fix the problem but if bash-completion is already installed and you still ...
Read more >Shell Completion | Data Version Control - DVC
What shell do you have? · First, make sure that Bash completion support is installed: $ brew install bash-completion. then edit ~/. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would love to debug that.I will be researching over this, over the weekend.
This seems to be resolved by #1189. Let us know if there is anything else to be done by creating a new issue.