From: Jan Hruban Date: Wed, 10 Apr 2013 12:13:11 +0000 (+0200) Subject: zshrc: Fix style lookup of `post' styles in prompt setup [Closes: issue1253] X-Git-Tag: v0.8.2~1 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=d5f9c90f24b44699313ae6f2d4ac57d95d168c38 zshrc: Fix style lookup of `post' styles in prompt setup [Closes: issue1253] Acked-by: Frank Terbeck --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e1cfcae..415ec43 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2035,7 +2035,7 @@ function grml_prompt_addto () { for it in "${items[@]}"; do zstyle -s ":prompt:${grmltheme}:${lr}:items:$it" pre apre \ || apre=${grml_prompt_pre_default[$it]} - zstyle -s ":prompt:grml:${grmltheme}:${lr}:$it" post apost \ + zstyle -s ":prompt:${grmltheme}:${lr}:items:$it" post apost \ || apost=${grml_prompt_post_default[$it]} zstyle -s ":prompt:${grmltheme}:${lr}:items:$it" token new \ || new=${grml_prompt_token_default[$it]}