From 4c83d8596d48acc106ffe62d50a55b3f9608c830 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 3 Jun 2024 09:44:36 +0900 Subject: Add new options to bash completion --- shell/completion.bash | 120 +++++++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 56 deletions(-) (limited to 'shell') diff --git a/shell/completion.bash b/shell/completion.bash index 9cd5b217..c63ef33b 100644 --- a/shell/completion.bash +++ b/shell/completion.bash @@ -101,75 +101,83 @@ _fzf_opts_completion() { cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts=" - -h --help - -e --exact + +c --no-color + +i --no-ignore-case + +s --no-sort +x --no-extended - -q --query - -f --filter - --literal - --scheme - --expect - --disabled - --tiebreak + --ansi + --bash --bind + --border + --border-label + --border-label-pos --color - -d --delimiter - -n --nth - --with-nth - +s --no-sort - --track - --tac - -i --ignore-case - +i --no-ignore-case - -m --multi - --ansi - --no-mouse - +c --no-color - --no-bold - --layout - --reverse --cycle - --keep-right - --no-hscroll - --hscroll-off - --scroll-off + --disabled + --ellipsis + --expect --filepath-word - --info - --separator - --no-separator - --no-scrollbar - --jump-labels - -1 --select-1 - -0 --exit-0 - --read0 - --print0 - --print-query - --prompt - --pointer - --marker - --sync - --history - --history-size + --fish --header - --header-lines --header-first - --ellipsis - --preview - --preview-window + --header-lines --height + --highlight-line + --history + --history-size + --hscroll-off + --info + --jump-labels + --keep-right + --layout + --listen + --listen-unsafe + --literal + --man + --margin + --marker --min-height - --border - --border-label - --border-label-pos - --preview-label - --preview-label-pos + --no-bold + --no-clear + --no-hscroll + --no-mouse + --no-scrollbar + --no-separator --no-unicode - --margin --padding + --pointer + --preview + --preview-label + --preview-label-pos + --preview-window + --print-query + --print0 + --prompt + --read0 + --reverse + --scheme + --scroll-off + --separator + --sync --tabstop - --listen - --no-clear + --tac + --tiebreak + --tmux + --track --version + --with-nth + --with-shell + --zsh + -0 --exit-0 + -1 --select-1 + -d --delimiter + -e --exact + -f --filter + -h --help + -i --ignore-case + -m --multi + -n --nth + -q --query --" case "${prev}" in -- cgit v1.2.3