Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
a8ef111a
Commit
a8ef111a
authored
Sep 03, 2014
by
Robby Russell
Browse files
Merge pull request #3072 from clippit/patch-1
Fix missing add-zsh-hook in pygmalion.zsh-theme
parents
dd644a1f
9c1255d3
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/pygmalion.zsh-theme
View file @
a8ef111a
...
@@ -12,7 +12,7 @@ prompt_setup_pygmalion(){
...
@@ -12,7 +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")
add-zsh-hook precmd
prompt_pygmalion_precmd
precmd_functions+=(
prompt_pygmalion_precmd
)
}
}
prompt_pygmalion_precmd(){
prompt_pygmalion_precmd(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment