Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Is there any possible way to automatically escape characters when executing an alias in zsh?




On 11/09/2021 19:41, Steve Dondley wrote:
I have many aliases set up for taskwarrior in zsh:

alias tasn="task +sn add"`

On the command line, I'll type in:

tasn some task description here

Which works unless I put in single quote or some other character:

tasn call Tom's friend

I tried a heredoc

alias mucky=<<EOD

echo tom's friend

EOD


But it doesn't work :(





Messages sorted by: Reverse Date, Date, Thread, Author