diff --git a/bash/bashrc b/bash/bashrc index e5e8768d4..5f46fbb1c 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -15,6 +15,12 @@ case $- in *) return;; esac +# Load default $TERM as $TERM_TITLE if not provided by alacritty config +echo $TERM_TITLE +if [[ -z $TERM_TITLE ]]; then + TERM_TITLE="$TERM"; +fi + # agetty is set to automatically log me in on tty1 # Automatically launch GUI on tty1 after login # I don't think that this is used anymore in Sericea, I think autologin is handled by SDDM @@ -32,8 +38,6 @@ if [ -e ${HOME}/.dotfiles/bash/shell_config ]; then source ${HOME}/.dotfiles/bash/shell_config fi -if [[ -z $TERM_TITLE ]]; then - TERM_TITLE="$TERM"; fi