Add completion for pipx. (#1719)

* Add completion for pipx.

* Add pipx  completion to clean_files.txt.

* Format pipx.completion.bash to match the project's coding style.

* Format pipx.completion.bash with ./lint_clean_files.sh.
pull/1724/head
NariyasuHeseri 2020-12-06 01:33:50 +09:00 committed by GitHub
parent d9364ced7a
commit 4a5ea95e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -31,3 +31,4 @@ themes/powerline
# completions
#
completion/available/rustup.completion.bash
completion/available/pipx.completion.bash

View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# pipx completion
if _command_exists register-python-argcomplete && _command_exists pipx; then
eval "$(register-python-argcomplete pipx)"
fi