[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Environment variables in eshell in emacs
From: |
Alex Kost |
Subject: |
Re: Environment variables in eshell in emacs |
Date: |
Wed, 23 Oct 2019 20:52:13 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Siddhesh Divekar (2019-10-22 07:40 -0700) wrote:
> Hi,
>
> I am setting my environment variables using 'setenv "foo" "bar"' and
> they are available for that session.
>
> However they don't get written to any file similar to alias.
>
> How do I make them persistent across emacs restart ?
> What is the ideal way to achieve this?
I don't know about the ideal way, but I would just put
(setenv "foo" "bar")
in my emacs config file.
--
Alex