Bug 2097525

Summary: switch PROMPT_COMMAND to be an array
Product: [Fedora] Fedora Reporter: Garrett Mitchener <garrett.mitchener>
Component: setupAssignee: Martin Osvald 🛹 <mosvald>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: amigadave, debarshir, garrett.mitchener, karsten, mosvald, ovasik, pavel, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garrett Mitchener 2022-06-15 21:10:31 UTC
Description of problem:

See https://bugzilla.redhat.com/show_bug.cgi?id=1183192

The original problem was that vte-profile's vte.sh used to override any earlier setting of PROMPT_COMMAND. This causes problems with autojump for example.

The fix introduced in more recent versions of vte.sh is to check for whether PROMPT_COMMAND is an array, in which case, the vte custom command gets added to that array instead of overwriting PROMPT_COMMAND entirely.
However, this improvement will only work if PROMPT_COMMAND is declared as an array, which would probably have to go in /etc/bashrc.

Debarshi Ray <debarshir> requested that a bug on this subject be filed for the 'setup' package, so here it is.

Comment 1 Fedora Release Engineering 2023-08-16 07:05:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.