bashrc ps1 has W's instead of w's resulting in docked paths.... Reproducible: Always Steps to Reproduce: 1.as user cd /var/www/localhost/htdocs 2.observe user@host /var/www/localhost/htdocs $ 3.switch to root vi su 4.observe host htdocs # <---with sub directory of sub directory chopped off. Expected Results: host /var/www/localhost/htdocs # ubuntu cent LFS & arch all use w's so gentoo seems very strange to new users. we have w's for users but W's for root? ps1 should ship defacto defaults & customization be explained and documented in wiki pages.
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.