on master help sign in
Remove language completions for config files
27e0ca9Ethan P
assets/completions/bat.fish+1−1
@@ -24,7 +24,7 @@ function __bat_autocomplete_languages --description "A helper function used by "
24 sub(/^ +/, "", ext); # Trim leading whitespace.
24 sub(/^ +/, "", ext); # Trim leading whitespace.
25 sub(/ +$/, "", ext); # Trim trailing whitespace.
25 sub(/ +$/, "", ext); # Trim trailing whitespace.
26
26
27− if (ext != "") {
27+ if ((ext != "") && (ext !~ /[A-Z].*/)) {
28 print ext"\t"lang
28 print ext"\t"lang
29 }
29 }
30 }
30 }