[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org-mode shell SRC block under Windows
From: |
Eli Zaretskii |
Subject: |
Re: Org-mode shell SRC block under Windows |
Date: |
Fri, 04 Feb 2022 09:16:47 +0200 |
> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
> Date: Thu, 03 Feb 2022 21:37:25 +0100
>
> Hello
>
> I'd like to use an MSYS or MingW shell rather than the default shell
> (com) for
>
> #+begin_src sh
> echo $SHELL
> #+end_src
See explicit-shell-file-name (assuming that Org heeds that variable).
But beware: futzing with that variable might get you in trouble
elsewhere!
In general, I'd say people who publish such blocks that assume a Posix
shell are to blame, not your Emacs setup. I find such blocks
frequently posted without a lot of thought, just because it "WFM".