Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: compinit error when IFS is \n
On Sat Apr 12, 2025 at 9:56 PM -0400, Lawrence Velázquez wrote:
It's unhelpful to say "this doesn't work" and dump two external discussions
Apologies for being terse. I tried to shrink down and locate the problem
and it ended up into those three lines in my zshrc. I'm by no means an
expert on how zsh works, that's why I submitted it here for the record
in case someone else ran across a similar problem.
Basically the motivation for this IFS=newline is that a cli file manager
lf communicates with the shell via LF_LEVELS env var. Which I use to
conditionally set IFS=newline so that files selected from the file
manager are assigned to $@.
zsh doesn't split variable expansions by default.
Yes. I have SH_WORD_SPLIT set.
Best,
Avid
Messages sorted by:
Reverse Date,
Date,
Thread,
Author