Closed huyz closed 1 year ago
Something is deleting temporary files while zsh is initializing. This can also sometimes be caused by buggy spyware that some corporate laptops come with.
Hmm, ok I'll keep that in mind. I have a feeling it may take me months or years to figure out which process is doing that, as I run a ton of apps that start at boot. I'll close since I know you like to keep your issues clean ;)
@romkatv is there a chance of race conditions between my several zsh shells starting at the same time, where one gitstatus is nuking the fifo of the other?
There shouldn't be races in there. You can add GITSTATUS_LOG_LEVEL=DEBUG
to zshrc, open a bunch of terminal tabs and then look at xtrace and daemon log files. Their names are available through $GITSTATUS_XTRACE_POWERLEVEL9K
and $GITSTATUS_DAEMON_LOG_POWERLEVEL9K
in each shell. They both start with $TMPDIR/gitstatus.POWERLEVEL9K.$EUID.$$.
where $EUID
is effective user id and $$
is the PID of the shell. The latter ensures that files from different terminal tabs have different names.
I've been getting this about 80% of the times after a boot and my iTerm app starts my profile with two windows:
Any idea what could be wrong?