From 66f1aba0f23d25715e5312a52b0984dfb2a6d99d Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 29 Jan 2025 20:17:46 +0100 Subject: [PATCH] completions/commandline: Add missing options --- share/completions/commandline.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/completions/commandline.fish b/share/completions/commandline.fish index 2f43d3bf2..5855e31af 100644 --- a/share/completions/commandline.fish +++ b/share/completions/commandline.fish @@ -18,11 +18,13 @@ complete -c commandline -s I -l input -d "Specify command to operate on" complete -c commandline -s C -l cursor -d "Set/get cursor position, not buffer contents" complete -c commandline -s B -l selection-start -d "Get current selection starting position" complete -c commandline -s E -l selection-end -d "Get current selection ending position" -complete -c commandline -s L -l line -d "Print the line that the cursor is on" +complete -c commandline -s L -l line -d "Print/set the line the cursor is on" +complete -c commandline -l column -d "Print/set the column the cursor is on" complete -c commandline -s S -l search-mode -d "Return true if performing a history search" complete -c commandline -s P -l paging-mode -d "Return true if showing pager content" complete -c commandline -l paging-full-mode -d "Return true if pager is showing all content" complete -c commandline -l search-field -d "Operate on the pager search field" complete -c commandline -l is-valid -d "Return true if the command line is syntactically valid and complete" +complete -c commandline -l showing-suggestion -d "Return true if the command line has an autosuggestion" complete -c commandline -n '__fish_contains_opt -s f function' -a '(bind --function-names)' -d 'Function name' -x