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