Summary: | app-shells/bash: PS1 pwd different for root and non-root user (\W vs \w) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | three sixes <666threesixes666> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=503068 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
three sixes
2014-07-27 19:54:31 UTC
we've had it this way for over 10 years: http://sources.gentoo.org/app-shells/bash/files/bashrc?revision=1.2&view=markup any choice we make someone won't like, and i don't really see the need to bikeshed this particular aspect. sorry. [with QA hat on] I think there's a small communication issue here. The main point here is that we have different escapes for root and non-root user. I personally don't care if it's \w or \W as long as it is consistent. How is this a QA issue? Lack of consistency affects user experience. QA is about having a good user experience. yeah, i don't buy any of those arguments I agree with vapier: it's not a big deal, it's not hard to redefine this in per-user basis and it does not need to be consistent for root/non-root users at all. You are not arguing that root has host address colored in red, when ordinary users - in green, are you? If it's a distribution default, it should be described in some document - that' a good point, yeah Just to add my 2c to this bike-shedding: IIRC, I've always set that the *other* way around - docked paths for both normal user and root. A bit annoying, but mostly cosmetic. |