Skip to content

decompression binaries are searched for even when they will never be used #2111

Open
@Antiever

Description

@Antiever

Feature request

Switch for turn off tools check

For example, lets say I want to do multiple replacements like so:

rg --passthru "!RE1!" "!file!" -or "!RP1!" |^
rg  --passthru "!RE2!" -or "!RP2!"  |^
...
rg  --passthru "!RE6!" -or "!RP6!"  |^
rg  --passthru "!RE7!" -or "!RP7!"

and every new instance of rg wiil do:

decompress.rs:482: gzip: could not find executable in PATH
decompress.rs:482: gzip: could not find executable in PATH
decompress.rs:482: bzip2: could not find executable in PATH
decompress.rs:482: bzip2: could not find executable in PATH
decompress.rs:482: xz: could not find executable in PATH
decompress.rs:482: xz: could not find executable in PATH
decompress.rs:482: lz4: could not find executable in PATH
decompress.rs:482: xz: could not find executable in PATH
decompress.rs:482: brotli: could not find executable in PATH
decompress.rs:482: zstd: could not find executable in PATH
decompress.rs:482: zstd: could not find executable in PATH
decompress.rs:482: uncompress: could not find executable in PATH

So this kind of switch can speed up things a little bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions