rupa / z

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

Avoid leftover .z.* files. #325

Closed kletterstein closed 6 months ago

kletterstein commented 1 year ago

I had recently observed many .z.* files in my home. I tracked this down to the env command used by z.sh. I aliased it to env | sort. In this case, the temporary files are not removed correctly. As I'm not the only one with the problem, I suggest to use /usr/bin/env in z.sh. The problem was also reported on stackexchange