zsh
is apparently using /tmp/zshXXXXXX
to store temporary files created by the process substitution using =()
. For example,
$ echo =(echo test)
/tmp/zsh4RmpQZ
However, I would like to change the location to /run
to make use of my tmpfs
mount.
Is there a configuration option in zsh
to change the (default) location of the temporary file in the process substitution using =()
?
Best Answer
The
zsh
shell uses the variableTMPPREFIX
when creating temporary files.According to the manual:
Testing: