Summary: | app-shells/bash - default /etc/bash/bashrc unnecessary PROMPT_COMMAND instead of PS1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | michael <michael> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=208695 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | bashrc_no_prompt_command.patch |
Description
michael@smith-li.com
2008-05-26 03:49:04 UTC
Created attachment 154311 [details, diff]
bashrc_no_prompt_command.patch
I forgot to mention I incorporated the fix from bug #208695 as well. umm, PS1+= ? i really dont think that's what you wanted (In reply to comment #3) > umm, PS1+= ? i really dont think that's what you wanted It's necessary to append to PS1; however as far as the particular syntax is concerned var+=string was added to bash in 3.1-alpha1 and we do have older bash's in portage, so maybe we should change it to PS1="${PS1}..." But yes, PS1+= is what I intended. should be all set now in the tree; thanks for the report! Commit message: Do window title setup through PS1 http://sources.gentoo.org/app-shells/bash/bash-4.3_p33-r2.ebuild?rev=1.1 http://sources.gentoo.org/app-shells/bash/files/bashrc-r2?rev=1.1 |