mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-10 01:10:41 +01:00
Merge pull request #3072 from clippit/patch-1
Fix missing add-zsh-hook in pygmalion.zsh-theme
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user