diff options
author | Adrián Bíro <89740062+adrianbiro@users.noreply.github.com> | 2023-04-08 13:00:09 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2023-05-12 05:59:36 +0200 |
commit | e155f56484507430f6aeeba971d8eb79b74aa867 (patch) | |
tree | 577caf78ca49bba005ef59cfe324474debbaff65 /assets/completions | |
parent | e828d7840acc8abfd3f803e9f6b50d887cc547d7 (diff) |
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.
Diffstat (limited to 'assets/completions')
-rw-r--r-- | assets/completions/bat.bash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/completions/bat.bash.in b/assets/completions/bat.bash.in index 05e4326a..e4292a7e 100644 --- a/assets/completions/bat.bash.in +++ b/assets/completions/bat.bash.in @@ -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 |