bashrc: also set the title for foot

This commit is contained in:
Aminda Suomalainen 2025-10-06 21:58:13 +03:00
parent bd0540f41d
commit c3dcf48d4e
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -95,12 +95,12 @@ else
fi
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
# xterm* | *rxvt*)
# PS1="\[\e]0;\u@\h: \w\a\]$PS1"
# ;;
# *) ;;
#esac
case "$TERM" in
xterm* | *rxvt* | foot*)
PS1="\[\e]0;\u@\h: \w\a\]$PS1"
;;
*) ;;
esac
if hash dircolors 2> /dev/null; then
#test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"