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

Re: [PATCH] compinit forks less



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




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