Doom env and temporary file problem

What happened?

I noticed when I run ‘doom doctor’ or some other commands a temporary file will be generated like this:

#!/usr/bin/env sh
trap _doomcleanup EXIT
_doomcleanup() {
  rm -f /var/folders/xq/9pgt7rh90gd0261q91r_348m0000gn/T/doom.14031.0.sh /var/folders/xq/9pgt7rh90gd0261q91r_348m0000gn/T/doom.14031.0.context
}

I’m using MacOs and I think this is in the $TMPDIR. But after the doom command finished a line will pop up:

/var/folders/xq/9pgt7rh90gd0261q91r_348m0000gn/T//doom.13619.0.sh: line 1: #!/usr/bin/env: No such file or directory

In fact I noticed after I run ‘doom env’ command there will be a TMPDIR variable left in my .emacs.d/local/env file.

What did you expect to happen?

{{{I don’t know if this is abnormal because this is the first time I noticed this.}}}

System information


Loading data dump...

This topic was automatically closed after 90 days. New replies are no longer allowed.