diff --git a/assets/completions/bat.fish b/assets/completions/bat.fish index b09f8087..c47c14a3 100644 --- a/assets/completions/bat.fish +++ b/assets/completions/bat.fish @@ -24,7 +24,7 @@ function __bat_autocomplete_languages --description "A helper function used by " sub(/^ +/, "", ext); # Trim leading whitespace. sub(/ +$/, "", ext); # Trim trailing whitespace. - if (ext != "") { + if ((ext != "") && (ext !~ /[A-Z].*/)) { print ext"\t"lang } }