Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"Literal" command execution
- X-seq: zsh-users 16740
- From: Yuri D'Elia <wavexx@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: "Literal" command execution
- Date: Mon, 23 Jan 2012 20:51:50 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi everyone.
I'm trying to reduce some typing here, as usual ;).
I have a command line logger that allows free text as its main arguments (random example: taskwarrior). A typical example might be:
command log [free text follows]
I want to reduce escaping to the bare minimum. Dollars are not really a problem, but I discovered myself to escape '<' '>' and '!' too often.
Of course I am already aware of both noglob and nocorrect, but I would need something more extreme, as in "feed whatever text, including #, etc, that follows the command as arguments".
Is there any way to achieve that?
Maybe by some rewriting trick?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author