rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.37k stars 1.17k forks source link

Avoid race condition when listing matches #238

Closed silenc3r closed 4 years ago

silenc3r commented 6 years ago

When listing matches common root is always printed first. I guess that's because pipe operator spawns new process and there's race condition.

This change makes code flow consistent with output.

rupa commented 4 years ago

appreciated