mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Fix the "command not found: add-zsh-hook" error
Apply the same fix as for #748
This commit is contained in:
parent
23bbf3cc2b
commit
adb9c3f4fb
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…
Add table
Add a link
Reference in a new issue