completions/status: break up long line, add buildinfo

(cherry picked from commit 5278686f55)
This commit is contained in:
Johannes Altmanninger
2025-03-02 07:39:58 +01:00
parent 3a673aff63
commit 5cce0918a9

View File

@@ -1,5 +1,30 @@
# Note that when a completion file is sourced a new block scope is created so `set -l` works.
set -l __fish_status_all_commands basename current-command current-commandline current-filename current-function current-line-number dirname features filename fish-path function is-block is-breakpoint is-command-substitution is-full-job-control is-interactive is-interactive-job-control is-login is-no-job-control job-control line-number print-stack-trace stack-trace test-feature
set -l __fish_status_all_commands \
basename \
buildinfo \
current-command \
current-commandline \
current-filename \
current-function \
current-line-number \
dirname \
features \
filename \
fish-path \
function \
is-block \
is-breakpoint \
is-command-substitution \
is-full-job-control \
is-interactive \
is-interactive-job-control \
is-login \
is-no-job-control \
job-control \
line-number \
print-stack-trace \
stack-trace \
test-feature
# These are the recognized flags.
complete -c status -s h -l help -d "Display help and exit"