Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: psychiatric help
On 2026-04-05 10:39, Mark J. Reed wrote:
>
If its output is not going to a terminal, you get the "polite"
behavior that outputs one filename per line. Any time you're doing `ls
|` or `$(ls)` or `<(ls)`, the output is not going to a terminal, so
you get the one-per-line behavior.
So if 'ls' is called within a function that counts as 'not a terminal'?
Man ... so easy to draw the wrong conclusion. As above, I thought it
was the array causing that.
I still don't know why you need a string and eval instead of just
using `$out` directly.
As in my last PM, I need access to the unexpanded tail. But ... maybe I
can use 'noglob' and still avoid 'eval', I'll experiment with that.
Funny thing, 'eval' never did me any harm, but I've soaked up the
attitude of yourself and Bart and the others that it's best to avoid
it. But I'd sure like to be able to grab the command line in ZLE before
it's processed, that way I could forget about noglob.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author