-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
output shell completion script by bat --completion <shell> command #2057
Copy link
Copy link
Closed
Labels
Description
Currently the autocompletion script comes only with the source.
A better approach, would be something like bat --completion=bash.
Here is my current bash_completion script executed at login:
source <($HOME/.local/bin/helm completion bash)
source <($HOME/.local/bin/kustomize completion bash)
source <($HOME/.local/bin/pip completion --bash)
source <($HOME/.local/bin/stern --completion=bash)
source <($HOME/.local/node/bin/npm completion)
source $HOME/.local/bat/autocomplete/bat.bash # this can become `bat --completion=bash` Reactions are currently unavailable