summaryrefslogtreecommitdiff
path: root/themes/pygmalion.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2014-09-03 15:51:50 +0200
committerRobby Russell <robby@planetargon.com>2014-09-03 15:51:50 +0200
commita8ef111a796acbd7d235b52e5864c6af4b911aa5 (patch)
tree06314a6da3040878ca3362c8d921dbfa514085a1 /themes/pygmalion.zsh-theme
parentdd644a1fa9d3251ee53b6bfcc10efff08f2ec3b5 (diff)
parent9c1255d358fa98397ce20370fa3843199c663990 (diff)
downloadzsh-a8ef111a796acbd7d235b52e5864c6af4b911aa5.tar.gz
zsh-a8ef111a796acbd7d235b52e5864c6af4b911aa5.tar.bz2
zsh-a8ef111a796acbd7d235b52e5864c6af4b911aa5.zip
Merge pull request #3072 from clippit/patch-1
Fix missing add-zsh-hook in pygmalion.zsh-theme
Diffstat (limited to 'themes/pygmalion.zsh-theme')
-rw-r--r--themes/pygmalion.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme
index 654e0fc37..5f5fe7f9a 100644
--- a/themes/pygmalion.zsh-theme
+++ b/themes/pygmalion.zsh-theme
@@ -12,7 +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")
- add-zsh-hook precmd prompt_pygmalion_precmd
+ precmd_functions+=(prompt_pygmalion_precmd)
}
prompt_pygmalion_precmd(){