Package: bash Version: 5.2-2+b1 Severity: wishlist Tags: patch Hi, skel.bashrc (installed as /etc/skel/.bashrc) currently sets color_prompt=yes only if the TERM environment variable is either xterm-color or ends with -256color. Please consider adding "foot*" to the check, as it does support color too. You can find an explanation of foot's TERM handling in the foot(1) manpage, also available at <https://manpages.debian.org/testing/foot/foot.1#TERMINFO>.
I've attached a patch for your convenience. Thanks for maintaining bash! -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-6-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bash depends on: ii base-files 12.3 ii debianutils 5.7-0.4 ii libc6 2.36-6 ii libtinfo6 6.3+20220423-2 Versions of packages bash recommends: ii bash-completion 1:2.11-6 Versions of packages bash suggests: pn bash-doc <none> -- no debconf information
diff --git a/debian/skel.bashrc b/debian/skel.bashrc index 9360f69..8e3a24f 100644 --- a/debian/skel.bashrc +++ b/debian/skel.bashrc @@ -37,7 +37,7 @@ fi # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in - xterm-color|*-256color) color_prompt=yes;; + xterm-color|*-256color|foot*) color_prompt=yes;; esac # uncomment for a colored prompt, if the terminal has the capability; turned

