From 81704f3ad925245c33715f0c6710d9fe4dba140f Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 24 Feb 2026 04:02:12 -0500 Subject: [PATCH] fixes --- .bashrc | 5 +++++ distro-begin | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 <