From 8cccc92a2220eb5a902943e18e45e75dc5e7d737 Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Wed, 3 Sep 2014 09:45:43 +0200 Subject: [PATCH] Fix pygmalion theme: add 'autoload "add-zsh-hook"' --- themes/pygmalion.zsh-theme | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme index 654e0fc37..149ff1e51 100644 --- a/themes/pygmalion.zsh-theme +++ b/themes/pygmalion.zsh-theme @@ -12,6 +12,7 @@ prompt_setup_pygmalion(){ base_prompt_nocolor=$(echo "$base_prompt" | perl -pe "s/%\{[^}]+\}//g") post_prompt_nocolor=$(echo "$post_prompt" | perl -pe "s/%\{[^}]+\}//g") + autoload "add-zsh-hook" add-zsh-hook precmd prompt_pygmalion_precmd }