zshrc: Fix style lookup of `post' styles in prompt setup [Closes: issue1253]
authorJan Hruban <hrubi@hrubi.cz>
Wed, 10 Apr 2013 12:13:11 +0000 (14:13 +0200)
committerFrank Terbeck <ft@grml.org>
Wed, 10 Apr 2013 12:22:29 +0000 (14:22 +0200)
Acked-by: Frank Terbeck <ft@grml.org>
etc/zsh/zshrc

index e1cfcae..415ec43 100644 (file)
@@ -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]}