Feature request: bash completion
See original GitHub issueIt would be amazing if pipx had bash completion, so that users could do pipx up<tab> packag<tab>
and stuff.
This would need two things:
- a bash-completion plugin that defines the possible completions
- a way for users to install it
Speaking of (2), I like the way rustup
does it: the user is encouraged to run
mkdir -p ~/.local/share/bash-completion/completions
rustup completions bash > ~/.local/share/bash-completion/completions/rustup
So I suggest a similar pipx completions bash
, maybe with an extra step (pipx completions bash --install
) to automate the installation so the user doesn’t have to mkdir and redirect manually.
(The bash
on the command line is because different shells have different syntax for user-defined completions.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Feature request: bash completion · Issue #181 · pypa/pipx
I hereby volunteer to maintain the hand-written bash completion file wrt command-line changes. All I ask is that somebody pings me before a ......
Read more >[Feature request] Improvement of Bash completion (#744) · Issues ...
Hi, we do not maintain the completion rules in cryptsetup project. But in general, cipher is not easy to add - there is...
Read more >[Feature request] Bash-completion for runit sv
sv on Artix has no completion script. While you can always run ls /run/runit/service and use the single-letter shortcuts (or even RSM), ...
Read more >Please bring back the package bash-completion to the initial ...
When I installed my base system, bash-completion was installed, as verified by ===> grep -i bash-completion ... Feedback Feature Request.
Read more >Feature request - tab to autocomplete names in comments
In comments, I cannot “tab” to auto-complete a user's name when I try to @ them. This works just fine when managing user...
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
argcomplete actually works well, so I created a PR https://github.com/pipxproject/pipx/pull/182.
This is available in master now. Instructions can be seen by running
pipx completions
. It’s also available to test in the pre-release channel.