[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] babel runs bash instead of zsh when sessions are used
From: |
Kyle Meyer |
Subject: |
Re: [BUG] babel runs bash instead of zsh when sessions are used |
Date: |
Mon, 24 Aug 2020 20:42:25 -0400 |
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)
> #+END_SRC
>
> #+RESULTS:
> : /home/nick /bin/bash /bin/bash
Hmm. If you step through org-babel-execute:shell, is shell-file-name
bound to the expected value of "ksh" (which should be let-bound outside
by org-babel-execute:ksh)?