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