From 12b06b3966b3fe236d6013b041fc8958b17e184e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 22 Apr 2007 18:38:01 +0200 Subject: [PATCH] /etc/zsh/zshrc: restore old behaviour of RPROMPT --- debian/changelog | 7 +++++++ etc/zsh/zshrc | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d0a5ad8..fecfc7f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-etc-core (0.2.49) unstable; urgency=low + + * /etc/zsh/zshrc: restore old behaviour of RPROMPT, the 'allow + manual overriding of RPROMPT' is just too broken currently. + + -- Michael Prokop Sun, 22 Apr 2007 18:37:27 +0200 + grml-etc-core (0.2.48) unstable; urgency=low * /etc/zsh/zshrc: diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 03c27d1..db667dd 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Apr 21 23:57:20 CEST 2007 [mika] +# Latest change: Son Apr 22 18:37:24 CEST 2007 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -449,7 +449,7 @@ fi is4 && [[ -z $NOPRECMD ]] && precmd () { [[ -n $NOPRECMD ]] && return 0 # allow manual overwriting of RPROMPT - [[ -n $RPROMPT ]] && echo -n $'\ekzsh\e\\' && return 0 + # [[ -n $RPROMPT ]] && return 0 # just use DONTSETRPROMPT=1 to be able to overwrite RPROMPT if [[ -z $DONTSETRPROMPT ]] ; then if [[ -n $BATTERY ]] ; then -- 2.1.4