emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] babel runs bash instead of zsh when sessions are used
Date: Mon, 24 Aug 2020 20:42:25 -0400	[thread overview]
Message-ID: <87h7srblou.fsf@kyleam.com> (raw)
In-Reply-To: <87imd86mz5.fsf@alphaville.usersys.redhat.com>

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)
> : /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)?

      reply	other threads:[~2020-08-25  0:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 16:01 [BUG] babel runs bash instead of zsh when sessions are used Rudi C
2020-08-22  4:09 ` Kyle Meyer
2020-08-22 13:10   ` Rudi C
2020-08-24 16:13   ` Nick Dokos
2020-08-25  0:42     ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7srblou.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).