* martin f krafft <[email protected]> [20100131 09:29]:

> Since /usr/share/base-files/dot.bashrc exports PS1, this means that
> subshells inherit the value rather than setting sensible defaults.
> zsh has a different prompt expansion syntax, so when it starts as
> a subshell of bash, it'll display a prompt of (literally)

>   \h:\w\$ 

> which is not very useful. If I unset PS1 before I switch shells,
> then zsh sets a proper default instead.

ACK.

It's related to #443245 where you can see that
/usr/share/base-files/dot.bashrc even overrides bash's default PS1
handling itself (like the /etc/debian_chroot feature).

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to