The code in /etc/bash/bashrc which sets PS1 when ${use_colors} == false is redundant. A rather frivolous problem, but I am acting in the spirit that code quality is improved a few lines at a time. Reproducible: Always
Created attachment 485106 [details, diff] Replace redundant conditional
/etc/bash/bashrc belongs to app-shells/bash.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2) > /etc/bash/bashrc belongs to app-shells/bash. Sorry, didn't realize that - should this be migrated then?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ad1ef0c4826494a4c8bd00fefd4d55931359fc commit f0ad1ef0c4826494a4c8bd00fefd4d55931359fc Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2018-01-04 23:47:58 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2018-01-04 23:48:15 +0000 app-shells/bash: Remove redundant code in bashrc, bug #625304 Closes: https://bugs.gentoo.org/625304 Package-Manager: Portage-2.3.14, Repoman-2.3.6 app-shells/bash/files/bashrc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)