[Top][All Lists]

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

Re: Suggestion/question

From: Akbarkhon Variskhanov
Subject: Re: Suggestion/question
Date: Sun, 3 Jul 2022 17:06:31 +0500

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

reply via email to

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