Skip to content
Myr

Add new options to bash completion

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent d453e6d · Browse files · 1 file+64 added−56 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+64 added−56 removed

  • other:+64 added−56 removed

1 file+64 added−56 removed

modified:shell/completion.bash+64 added-56 removed
99 unmodified lines
100 COMPREPLY=()101 cur="${COMP_WORDS[COMP_CWORD]}"102 prev="${COMP_WORDS[COMP_CWORD-1]}"103 opts="104 -h --help105 -e --exact104 +c --no-color105 +i --no-ignore-case106 +s --no-sort107 +x --no-extended107 -q --query108 -f --filter109 --literal110 --scheme111 --expect112 --disabled113 --tiebreak108 --ansi109 --bash110 --bind111 --border112 --border-label113 --border-label-pos114 --color116 -d --delimiter117 -n --nth118 --with-nth119 +s --no-sort120 --track121 --tac122 -i --ignore-case123 +i --no-ignore-case124 -m --multi125 --ansi126 --no-mouse127 +c --no-color128 --no-bold129 --layout130 --reverse115 --cycle132 --keep-right133 --no-hscroll134 --hscroll-off135 --scroll-off116 --disabled117 --ellipsis118 --expect119 --filepath-word137 --info138 --separator139 --no-separator140 --no-scrollbar141 --jump-labels142 -1 --select-1143 -0 --exit-0144 --read0145 --print0146 --print-query147 --prompt148 --pointer149 --marker150 --sync151 --history152 --history-size120 --fish121 --header154 --header-lines122 --header-first156 --ellipsis157 --preview158 --preview-window123 --header-lines124 --height125 --highlight-line126 --history127 --history-size128 --hscroll-off129 --info130 --jump-labels131 --keep-right132 --layout133 --listen134 --listen-unsafe135 --literal136 --man137 --margin138 --marker139 --min-height161 --border162 --border-label163 --border-label-pos164 --preview-label165 --preview-label-pos140 --no-bold141 --no-clear142 --no-hscroll143 --no-mouse144 --no-scrollbar145 --no-separator146 --no-unicode167 --margin147 --padding148 --pointer149 --preview150 --preview-label151 --preview-label-pos152 --preview-window153 --print-query154 --print0155 --prompt156 --read0157 --reverse158 --scheme159 --scroll-off160 --separator161 --sync162 --tabstop170 --listen171 --no-clear163 --tac164 --tiebreak165 --tmux166 --track167 --version168 --with-nth169 --with-shell170 --zsh171 -0 --exit-0172 -1 --select-1173 -d --delimiter174 -e --exact175 -f --filter176 -h --help177 -i --ignore-case178 -m --multi179 -n --nth180 -q --query181 --"182183 case "${prev}" in184 --scheme)
386 unmodified lines