In addition to the color check, capable terminals should also be added to the title set check, eg:

@@ -65,7 +65,7 @@

 # If this is an xterm set the title to user@host:dir
 case "$TERM" in
-xterm*|rxvt*)
+xterm*|rxvt*|foot)
     PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
     ;;
 *)

Reply via email to