On 08/21/2014 05:42 PM, Jacco Ligthart wrote:
On 08/21/2014 06:32 PM, Gordan Bobic wrote:
On 08/21/2014 04:57 PM, Jacco Ligthart wrote:
On 08/21/2014 05:41 PM, Gordan Bobic wrote:
In /etc/bashrc, you probably want:
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
instead of:
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \w]\\$ "
Personally, the first variant drives me nuts because regardless of
whether you are in /usr/lib or ~/tmp/usr/lib it will always say just:
[user@hostname lib]$
which is, IMO, just downright dangerous. Hence why it is different in
RSEL6 than in vanilla EL6.
It is not different in the new raspi image ...
Where did you make this change?
Are you saying your bashrc already has the upper case W instead of
lower case?
What does your prompt look like?
yup an uppercase W in /etc/bashrc
[user@host ~]$ cd /var/tmp/
[user@host tmp]$ su -
Password:
[root@host ~]# cd /var/tmp/
[root@host tmp]#
[root@host ~]# rpm -qf /etc/bashrc
setup-2.8.14-20.el6.1.noarch
[root@host ~]# rpm -Vf /etc/bashrc
[root@host ~]#
Yup, that's the EL6 standard variant.
Gordan
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users