Bug 2097525 - switch PROMPT_COMMAND to be an array
Summary: switch PROMPT_COMMAND to be an array
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: 39
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-15 21:10 UTC by Garrett Mitchener
Modified: 2023-08-16 07:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1183192 1 None None None 2022-06-15 21:10:30 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.