Add podman and gh completions, fix bun completion style
Add bash completion scripts for podman and gh CLI. Switch bun completion from eval to process substitution for consistency with other completion scripts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9e5718296a
commit
a9875dceec
3 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC1090
|
||||
# Enable bash completion for bun (JavaScript runtime & package manager)
|
||||
command -v bun &>/dev/null && eval "$(bun completions)"
|
||||
command -v bun &>/dev/null && . <(bun completions)
|
||||
|
|
|
|||
4
50-gh-completion
Executable file
4
50-gh-completion
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC1090
|
||||
# Tab completion for gh, the GitHub CLI
|
||||
command -v gh &>/dev/null && . <(gh completion -s bash)
|
||||
4
50-podman-completion
Executable file
4
50-podman-completion
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
# shellcheck disable=SC1090
|
||||
# Tab completion for Podman, a rootless container engine
|
||||
command -v podman &>/dev/null && . <(podman completion bash)
|
||||
Loading…
Add table
Add a link
Reference in a new issue