Re: difficult alias

Eric Cook <[email protected]> Sun, 3 May 2026 10:36:56 -0400
Newsgroups gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On 5/3/26 10:23 AM, Ray Andrews wrote:
> ... can that alias be repaired?
It could, but why not just make it a function?

tst() { echo -E $var | fold -sw 80 | sed ':a;N;$!ba;s/\n/\n /g' }

It looks just like how you would type it interactively and allows you to copy and paste code from the definition without needed to undo
the escaping needed for it to be an alias.