mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
fix missing add-zsh-hook in pygmalion.zsh-theme
Fix "command not found: add-zsh-hook" since #3053 removes `autoload -U add-zsh-hook`
This commit is contained in:
parent
23bbf3cc2b
commit
9c1255d358
1 changed files with 1 additions and 1 deletions
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue