help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Environment variables in eshell in emacs


From: Siddhesh Divekar
Subject: Re: Environment variables in eshell in emacs
Date: Wed, 23 Oct 2019 10:59:47 -0700

Thanks Alex.
Yes am aiming at doing the same.

On Wed, Oct 23, 2019 at 10:52 AM Alex Kost <alezost@gmail.com> wrote:

> 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
>


-- 
-Siddhesh.


reply via email to

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