From f371420c5b5f4d8f29a52e70fa971b69f5f0cac3 Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Sun, 11 May 2025 15:58:19 +0200 Subject: [PATCH] fishgen: Drop unnecessary line length check (#1118) The following starts-with 'complete' where filter covers it as well. --- needs-update/custom-completions/auto-generate/parse-fish.nu | 1 - 1 file changed, 1 deletion(-) diff --git a/needs-update/custom-completions/auto-generate/parse-fish.nu b/needs-update/custom-completions/auto-generate/parse-fish.nu index 03250bf..ccbbb2d 100644 --- a/needs-update/custom-completions/auto-generate/parse-fish.nu +++ b/needs-update/custom-completions/auto-generate/parse-fish.nu @@ -39,7 +39,6 @@ def parse-fish [] { # make use of detect columns -n which with one like properly tokenizers arguments including across quotes def tokenize-complete-lines [] { lines - | where ($it | str length) > 0 # remove any empty lines | where $it starts-with 'complete' # only complete command lines | each { str replace -a "\\\\'" "" # remove escaped quotes ' which break detect columns