From 226d4144459db95b206e54af580b962ec655eaf9 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 6 Mar 2013 12:37:50 +0100 Subject: [PATCH] grmlzshrc.t2t: Document how static prompt customisation should be done now Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 1b6908f..ad83ac9 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -341,6 +341,19 @@ canonical reference about all of them. This feature requires version //4.3.7// of the shell. Older versions will use the classic grml prompt as a fallback. +A note to people who like customisation: If you are **not** using a prompt +theme for your customisation, but you're either statically setting $PS1 (or +$PROMPT) or you're constructing one of those variables in zsh's \`precmd()' +function, make sure you are turning the zsh's prompt theme system **off** +before doing so. A correct example customisation could look like this: +\ +``` + # Turn the prompt system off: + prompt off + # Customise the prompt yourself: + PS1='%~ %# ' +``` + == GNU/SCREEN STATUS SETTING == //grmlzshrc// sets screen's hardstatus lines to the currently running command -- 2.1.4