diff options
author | Letian Zhang <zlthooray@gmail.com> | 2014-09-01 09:49:31 +0800 |
---|---|---|
committer | Letian Zhang <zlthooray@gmail.com> | 2014-09-01 09:49:31 +0800 |
commit | 9c1255d358fa98397ce20370fa3843199c663990 (patch) | |
tree | e78b8edc055a3b69106c50e02b8791e7e39d531c /themes | |
parent | 23bbf3cc2bffb059506b7995e34cd451dc0a947a (diff) | |
download | zsh-9c1255d358fa98397ce20370fa3843199c663990.tar.gz zsh-9c1255d358fa98397ce20370fa3843199c663990.tar.bz2 zsh-9c1255d358fa98397ce20370fa3843199c663990.zip |
fix missing add-zsh-hook in pygmalion.zsh-theme
Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
Diffstat (limited to 'themes')
-rw-r--r-- | themes/pygmalion.zsh-theme | 2 |
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(){ |