* Otavio Salvador <[email protected]> [20100118 13:42]: > Ian Jackson <[email protected]> writes:
> > The default /root/.bashrc contains this line:
> > export PS1='\h:\w\$ '
> > That line isn't necessary because /etc/bash.bashrc does a similar but
> > better thing:
> > PS1='${debian_chroot:+($debian_chroot)}...@\h:\w\$ '
> > Indeed, the /root/.bashrc PS1 setting defeats attempts to set
> > debian_chroot (as an exported environment variable, or via /etc) to
> > affect root's prompt.
> > I think the PS1 setting in /root/.bashrc can safely be removed.
> This isn't present on rootskel but base-files. The referenced file is
> copyed from /usr/share/base-files/dot.bashrc ro /root/.bashrc when
> configuring the postinst.
This bug is still present nowadays.
Any specific reason why the PS1 and umask commands from
/usr/share/base-files/dot.bashrc can't be disabled by default
so it's possible to get more consistent behaviour?
regards,
-mika-
signature.asc
Description: Digital signature

