Restore initial title

This commit is contained in:
John Mertz 2024-01-31 22:38:35 -07:00
parent cb6b728ce2
commit 1bf0ab9eb0
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ fi
eval "$(plenv init -)"
source ${HOME}/.dotfiles/bash/plenv-path.sh
# Set initial title
echo -e -n "\033]2;Welcome to Bash - $TERM_TITLE\007"
# Set window title to last command
PS0='\[\e]0;$(last_command) - $TERM_TITLE\a\]'