Nick Dokos writes:
> I was able to reproduce it (with ksh, rather than zsh) on Org mode version
> 9.3.7 (release_9.3.7-705-gea9463 @ /home/nick/elisp/org-mode/lisp/).
>
> --8<---cut here---start->8---
> #+BEGIN_SRC ksh :session z1
> echo $HOME $0 $(which $0)
>
Kyle Meyer writes:
> Rudi C writes:
>
>> #+BEGIN_SRC zsh :session z1
>> echo $HOME $0
>> #+END_SRC
>>
>> #+RESULTS:
>> : /Users/evar /bin/bash
>
> What version of Org are you using?
>
> I tried with both the latest release (9.3.7) and the current master
> branch (220f2b0d9), using default
I tried using emacs -Q and org 9.4, and you're right, this bug is
nonexistent there. I am using Doom, so that's where the bug is coming from
most probably. Unfortunately, things don't work without that bug either.
The evaluation hangs indefinitely. I have used C-g to cancel them and take
a look at
Rudi C writes:
> #+BEGIN_SRC zsh :session z1
> echo $HOME $0
> #+END_SRC
>
> #+RESULTS:
> : /Users/evar /bin/bash
What version of Org are you using?
I tried with both the latest release (9.3.7) and the current master
branch (220f2b0d9), using default configuration aside from
#+BEGIN_SRC zsh :session z1
echo $HOME $0
#+END_SRC
#+RESULTS:
: /Users/evar /bin/bash
As compared to:
#+BEGIN_SRC zsh
echo $HOME $0
#+END_SRC
#+RESULTS:
: /Users/evar zsh