mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-30 13:47:46 +00:00
fishgen: Drop unnecessary line length check (#1118)
The following starts-with 'complete' where filter covers it as well.
This commit is contained in:
parent
4f7d9a626a
commit
f371420c5b
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue