Re: [PATCH] compinit forks less

dana <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <[email protected]>
On Fri 1 May 2026, at 04:08, Charles Blake wrote:
> Out of curiosity, I also strace'd `zsh -fc ': =(echo 1)'`.  That showed
> O_EXCL also, though it seems there is a maybe no longer needed stat()?

if there's just one i assume it's the one mktemp() is doing?

On Fri 1 May 2026, at 04:08, Charles Blake wrote:
> Also, it may not matter, but on that, there seems to be a special rule
> for space itself and `bindkey " "` formats as `" "-value` which breaks
> both old and new parses, giving a 3-element array.

i guess it's better to use (z) then. but it should be fine either way in this
case since we only care about the last element

dana
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.