Handle lxterminal per host config in .bash_profile.

This commit is contained in:
Darren 'Tadgy' Austin 2023-09-29 19:08:06 +01:00
commit caf4118021

View file

@ -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$'"