[issue2267] zshrc prompt styling documentation unclear - sad-smiley hard to disable

Colin Caine bts at bts.grml.org
Fri Oct 14 00:21:25 CEST 2016


New submission from Colin Caine <cmcaine at gmail.com>:

To disable the sad smiley that appears when a command fails with the default
zshrc, you need to run these two commands:

zstyle ':prompt:grml:right:setup' use-rprompt false
zstyle ':prompt:grml:right:setup' items ''

>From the documentation (prompt -h grml) one would think that either would be
sufficient.

In general, the use-rpompt style is unclear.

Suggestions:

1) use-rprompt is removed

2) `zstyle ':prompt:grml:right:setup' items ''` is made sufficient to remove the
sad-smiley

3) The documentation is extended to include an example of how to add and remove
items from the prompt.

----------
messages: 5940
nosy: cmcaine
priority: bug
status: unread
title: zshrc prompt styling documentation unclear - sad-smiley hard to disable
topic: zsh

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue2267>
_____________________________________


More information about the Bugs-changes mailing list