From b704cb4565cfaf7f8b551e688b474b0318582b61 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 29 Sep 2023 19:08:06 +0100 Subject: [PATCH] Handle lxterminal per host config in .bash_profile. --- .bash_profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bash_profile b/.bash_profile index bda10c9..f000d5c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -33,6 +33,10 @@ if [[ "$PLATFORM" = "Linux" ]]; then unset GPG_SOCK_DIR } hash gpg-connect-agent >/dev/null 2>&1 && gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1 + [[ ! -e "$HOME/.config/lxterminal/lxterminal.conf" ]] && ( + cd "$HOME/.config/lxterminal" + [[ -e "lxterminal.conf-${HOSTNAME%%.*}" ]] && ln -sf "lxterminal.conf-${HOSTNAME%%.*}" "lxterminal.conf" + ) elif [[ "$PLATFORM" = "Darwin" ]]; then export LSCOLORS="ExGxdxdxCxDxDxbcacbeae" export MANPAGER="less -Mis -PM'Page %dt$'"