From 117f2200904e4990474311b5728440dd62089fc9 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Fri, 29 Sep 2023 19:53:12 +0100 Subject: [PATCH] Fix handling of lxterminal.conf. --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index e52d0a0..b12a2f4 100644 --- a/.bash_profile +++ b/.bash_profile @@ -34,7 +34,7 @@ if [[ "$PLATFORM" = "Linux" ]]; then } 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" + cd "$HOME/.config/lxterminal" 2>/dev/null || exit 1 [[ -e "lxterminal.conf-${HOSTNAME%%.*}" ]] && ln -sf "lxterminal.conf-${HOSTNAME%%.*}" "lxterminal.conf" ) elif [[ "$PLATFORM" = "Darwin" ]]; then