Bug 2333485

Summary: Using kitty terminal disables /etc/bashrc prompt
Product: [Fedora] Fedora Reporter: Celeste <celdaemon>
Component: shell-color-promptAssignee: Jens Petersen <petersen>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 41CC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-04-07 06:11:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Celeste 2024-12-20 11:29:29 UTC
When using the Kitty terminal, the coloured prompt is not enabled, and the default Red Hat prompt is used instead.

Reproducible: Always

Steps to Reproduce:
1.Install Kitty
2.Launch Kitty
Actual Results:  
After launching, the minimal Red Hat prompt is displayed instead of the usual coloured prompt.

Expected Results:  
The coloured prompt should be used, like in other terminals like GNOME terminal and Konsole

The prompt's behaviour seems to be caused by a check that tests if the current `$TERM` value ends with `color`.
However, because Kitty's value is `xterm-kitty`, the coloured prompt is not enabled.

I'm not very knowledgeable of how these systems should work, but I wonder if it would make more sense to query terminfo instead?

Comment 1 Jens Petersen 2025-04-07 06:11:37 UTC
Thanks for reporting this

*** This bug has been marked as a duplicate of bug 2352650 ***