Clean-up bash comletion

"cword" is unset and even is not used in completion for other shells, so it probably shouldn't be here either. If it for some reason should be there add the directive "# shellcheck disable=SC2034" to the line above it.
pull/2556/head
Adrián Bíro 1 year ago committed by Martin Nordholts
parent e828d7840a
commit e155f56484

@ -32,7 +32,7 @@ __bat_escape_completions()
}
_bat() {
local cur prev words cword split=false
local cur prev words split=false
if declare -F _init_completion >/dev/null 2>&1; then
_init_completion -s || return 0
else

Loading…
Cancel
Save