BTS

Message5940

Author cmcaine
Recipients cmcaine
Date 2016-10-13.22:21:24
Content
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.
History
Date User Action Args
2016-10-13 22:21:25cmcainesetrecipients: + cmcaine
2016-10-13 22:21:25cmcainesetmessageid: <1476397285.1.0.875132148761.issue2267@bts.grml.org>
2016-10-13 22:21:25cmcainelinkissue2267 messages
2016-10-13 22:21:24cmcainecreate