Skip to content

Autoquote everything up until shell redirection character? #2

@jez

Description

@jez

First, wanted to say thanks for this project, I've wanted something like it for a long time and am glad to have found this.

Second, I'm struggling to come up with a pattern I could use to mean "autoquote everything up until the first > or | character. Is this possible with the current ZAQ_PREFIXES list? (It seems like it deals only with prefixes, not with suffixes.)

For the commands I'm trying to auto-quote, I'm fine never being able to autoquote a string containing either of those two characters.

If this is something you've managed to do before I'd be very eager to hear more.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions