From 27e0ca98d9b4bf68fda79ea753c7bfe70e330c1f Mon Sep 17 00:00:00 2001 From: Ethan P Date: Thu, 2 May 2019 00:46:27 -0700 Subject: [PATCH] Remove language completions for config files --- assets/completions/bat.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }