Add bash completion for bun

Source bun's built-in completion output via `bun completions`
(no shell argument needed — it defaults to bash).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-03-08 17:56:51 +01:00
commit 9e5718296a

3
50-bun-completion Executable file
View file

@ -0,0 +1,3 @@
# shellcheck shell=bash
# Enable bash completion for bun (JavaScript runtime & package manager)
command -v bun &>/dev/null && eval "$(bun completions)"