a8ef111a796acbd7d235b52e5864c6af4b911aa5

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #3072 from clippit/patch-1

Fix missing add-zsh-hook in pygmalion.zsh-theme

Diff

 1diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme
 2index 654e0fc37666e21df2bcae24d8fe04417cd7d857..5f5fe7f9aea113baa33f7979cb18d505bc6b66ac 100644
 3--- a/themes/pygmalion.zsh-theme
 4+++ b/themes/pygmalion.zsh-theme
 5@@ -12,7 +12,7 @@ prompt_setup_pygmalion(){
 6   base_prompt_nocolor=$(echo "$base_prompt" | perl -pe "s/%\{[^}]+\}//g")
 7   post_prompt_nocolor=$(echo "$post_prompt" | perl -pe "s/%\{[^}]+\}//g")
 8 
 9-  add-zsh-hook precmd prompt_pygmalion_precmd
10+  precmd_functions+=(prompt_pygmalion_precmd)
11 }
12 
13 prompt_pygmalion_precmd(){