From c3dcf48d4e9d5282179b5bf4b04e57bb81456a77 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 6 Oct 2025 21:58:13 +0300 Subject: [PATCH] bashrc: also set the title for foot --- rc/bashrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rc/bashrc b/rc/bashrc index 66f87812..91d4265e 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -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)"