From: Ian Kelling Date: Tue, 24 Feb 2026 09:02:12 +0000 (-0500) Subject: fixes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=81704f3ad925245c33715f0c6710d9fe4dba140f;p=distro-setup fixes --- diff --git a/.bashrc b/.bashrc index caa13eb..f94a429 100644 --- a/.bashrc +++ b/.bashrc @@ -106,6 +106,11 @@ else # this file, and we don't want to do that and cause an infinite # loop. fi + if [[ $EDITOR != emacsclient || $TZ != :/etc/localtime ]]; then + if [[ -s /etc/profile.d/environment.sh ]]; then + source /etc/profile.d/environment.sh + fi + fi # source brc and brc2 if they exist. We have to readlink because we # could be using sl() from ./brc. diff --git a/distro-begin b/distro-begin index 10b69d3..639d5bb 100755 --- a/distro-begin +++ b/distro-begin @@ -265,7 +265,7 @@ fi #### setup bash for root -for x in /a/c/{.bashrc,brc,brc2,.bash_profile,.profile,.inputrc,path_add_function}; do +for x in /a/c/{.bashrc,brc,brc2,.bash_profile,.profile,.inputrc,path_add-function}; do sudo -i <