Re: How to extend the PATH environment variable in Gnome Shell on Wayland



On Tue, 2018-06-19 at 11:55 +0200, mattias jc bengtsson gmail com
wrote:
Hi!
[...]
I'm pretty sure you can just source the
files under ~/.config/environment.d/ from ~/.bashrc though but I
haven't bothered testing it.

Yep, this worked fine for me (in ~/.bashrc):

for f in ${HOME}/.config/environment.d/*.conf; do
    source "${f}"
done

That way you get your shell session and the environment.d vars in sync.


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