You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Sadly there is no way to express this in zsh-autoquoter right now.
It is an imminently reasonable thing to ask for and I think it would make for a very good feature to support, but I'm not exactly sure what the API should look like.
But if you were to pretend for a second that zsh-autoquoter could do that, how would you expect it to look? Like, what would you expect to write in your .zshrc in order to configure that?
I would be fine with anything. If there was a flag that said “never auto quote shell pipe characters for any command” I’d set it. If I had to have a second variable with command names to never auto quote I’d use it. The API doesn’t matter much to me.
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 currentZAQ_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.
The text was updated successfully, but these errors were encountered: