+grml-etc-core (0.3.36) unstable; urgency=low
+
+ * /etc/zsh/zshrc: enable transient_rprompt only for zsh >= 4.1.
+
+ -- Michael Prokop <mika@grml.org> Mon, 22 Oct 2007 10:18:26 +0200
+
grml-etc-core (0.3.35) unstable; urgency=low
* /etc/zsh/zshrc: support displaying version control information inside
# check for versions (compatibility reasons)
if autoload is-at-least && is-at-least 2>/dev/null ; then
is4() { is-at-least 4 }
+ is41() { is-at-least 4.1 }
is42() { is-at-least 4.2 }
else
is4(){
# precmd () { setopt promptsubst; [[ -o interactive ]] && jobs -l;
# make sure to use right prompt only when not running a command
- is4 && setopt transient_rprompt
+ is41 && setopt transient_rprompt
is4 && [[ -z $NOPRECMD ]] && precmd () {
[[ -n $NOPRECMD ]] && return 0