mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge 8cccc92a22 into da94f45f9c
This commit is contained in:
commit
a0493ca5a6
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ prompt_setup_pygmalion(){
|
||||||
base_prompt_nocolor=$(echo "$base_prompt" | perl -pe "s/%\{[^}]+\}//g")
|
base_prompt_nocolor=$(echo "$base_prompt" | perl -pe "s/%\{[^}]+\}//g")
|
||||||
post_prompt_nocolor=$(echo "$post_prompt" | perl -pe "s/%\{[^}]+\}//g")
|
post_prompt_nocolor=$(echo "$post_prompt" | perl -pe "s/%\{[^}]+\}//g")
|
||||||
|
|
||||||
|
autoload "add-zsh-hook"
|
||||||
add-zsh-hook precmd prompt_pygmalion_precmd
|
add-zsh-hook precmd prompt_pygmalion_precmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue