emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get shell source blocks to read my profile?


From: Maxim Nikulin
Subject: Re: How to get shell source blocks to read my profile?
Date: Tue, 16 Mar 2021 19:20:50 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 16/03/2021 00:49, George Mauer wrote:
   shell-file-name: "/bin/zsh -i"

I am afraid, you should be prepared to face some problem accidentally. The value of this variable is used to execute the specified file ("zsh -i" in the "/bin" directory, I do not think, you have such file), not as a part of shell command. shell-file-name in namely file name to be executed with shell-command-switch as first argument (separate arguments, not merged into a string) to run shell commands (next argument).

Environment variables could be set on OS level, inside emacs https://www.gnu.org/software/emacs/manual/html_node/emacs/Environment.html , etc. It is hard to suggest something since you have not described the problem you are trying to solve. Tim in details explained why you attempt to solve it did not work, but the problem (or the goal) is still unknown.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]