[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: Suggestion/question
From:       Akbarkhon Variskhanov <akbarkhon.variskhanov () gmail ! com>
Date:       2022-07-03 12:06:31
Message-ID: CANeoM1FYxOt7QuFt9UW=tps2nAXXGK4YHHpzJVY3YWx8pAbOyw () mail ! gmail ! com
[Download RAW message or body]

> Personally, I think this would be a nice improvement, though it does
> lead to the question "how do you set $XDG_CONFIG_HOME before you read
> bashrc, where environment variables are typically defined".

I was thinking about it the other day. I think defining XDG_CONFIG_HOME and
XDG_DATA_HOME in something like /etc/profile.d/00-prepare-env is
a reasonable solution. Or this may even be done by /bin/login (after setting up
HOME, SHELL, etc.), but that might be way too early.

In any case, collecting all ~/.bash* files into their own subdirectory
according to
FHS seems logical.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic