Re: TMPDIR vs TMPPREFIX again
Mikael Magnusson <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <CAHYJk3S=gwOYELc-rAr=91sKnX=k__Dx=kQu-KmdEM1v0UALLw@mail.gmail.com> |
On Thu, Aug 13, 2026 at 9:52 PM Daniel Colascione <[email protected]> wrote: > > Might it be possible (as others have suggested over the years) to > incorporate TMPDIR into TMPPREFIX so that zsh works properly when run in > an environment with read-only /tmp but writable TMPDIR? How would that work in practice? % echo $TMPPREFIX /tmp/zsh % echo $TMPDIR % TMPDIR=/foo/tmp % echo $TMPPREFIX # do you expect this to be different now? what if the user had set it manually? etc? It is also really trivial to just set TMPPREFIX yourself to whatever value you want, no? -- Mikael Magnusson