Re: best place to put export variables

2022-05-19 Thread Stuart Henderson
On 2022-05-18, Michael wrote: > On 05/19/22 01:44AM, Mihai Popescu wrote: >> Hello, >> >> I want to export XDG_CACHE_HOME variable used by Xorg. >> What is the best place (file or ?) to export this variable? >> >> I remember i used some file to export a long time ago PS1 variable. >> Should I us

Re: best place to put export variables

2022-05-19 Thread Janne Johansson
> > I want to export XDG_CACHE_HOME variable used by Xorg. > > What is the best place (file or ?) to export this variable? > > I remember i used some file to export a long time ago PS1 variable. > > Should I use ~/.login file or is it a better way to export this xorg > > variable? > Everywhere on

Re: best place to put export variables

2022-05-18 Thread Raul Miller
"Best" depends on you and your system and how you use your system. (Are you the sole user of your system? Do you share access? Under what conditions? How much storage does your system have? Etc..) Conceptually, $HOME/.login is a fine place to define an environment variable, though there's ways of

best place to put export variables

2022-05-18 Thread Mihai Popescu
Hello, I want to export XDG_CACHE_HOME variable used by Xorg. What is the best place (file or ?) to export this variable? I remember i used some file to export a long time ago PS1 variable. Should I use ~/.login file or is it a better way to export this xorg variable? OpenBSD amd64 here, snapsho