diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-05-22 19:50:49 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-05-22 19:52:13 +0200 |
commit | 4ac36d57f1c141c59344e1bf6fafcdb7f8707b0a (patch) | |
tree | 76406f051d41186f0ebe9f648822fa2eb832ed9b /themes/fino-time.zsh-theme | |
parent | a3ea785cf514523155582fd6b9c68e2bc06cd836 (diff) | |
download | zsh-4ac36d57f1c141c59344e1bf6fafcdb7f8707b0a.tar.gz zsh-4ac36d57f1c141c59344e1bf6fafcdb7f8707b0a.tar.bz2 zsh-4ac36d57f1c141c59344e1bf6fafcdb7f8707b0a.zip |
fino-time: fix git and ruby prompt sequences
Fixes #8856
Diffstat (limited to 'themes/fino-time.zsh-theme')
-rw-r--r-- | themes/fino-time.zsh-theme | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/themes/fino-time.zsh-theme b/themes/fino-time.zsh-theme index 5679e9f37..d89e25215 100644 --- a/themes/fino-time.zsh-theme +++ b/themes/fino-time.zsh-theme @@ -25,16 +25,12 @@ function box_name { } -local rvm_ruby='using%{$FG[243]%}$(ruby_prompt_info)' -local git_info='$(git_prompt_info)' - - -PROMPT="╭─%{$FG[040]%}%n%{$reset_color%} %{$FG[239]%}at%{$reset_color%} %{$FG[033]%}$(box_name)%{$reset_color%} %{$FG[239]%}in%{$reset_color%} %{$terminfo[bold]$FG[226]%}%~%{$reset_color%}${git_info} %{$FG[239]%}${rvm_ruby} %D - %* +PROMPT="╭─%{$FG[040]%}%n%{$reset_color%} %{$FG[239]%}at%{$reset_color%} %{$FG[033]%}$(box_name)%{$reset_color%} %{$FG[239]%}in%{$reset_color%} %{$terminfo[bold]$FG[226]%}%~%{$reset_color%}\$(git_prompt_info)\$(ruby_prompt_info) %D - %* ╰─$(virtualenv_info)$(prompt_char) " ZSH_THEME_GIT_PROMPT_PREFIX=" %{$FG[239]%}on%{$reset_color%} %{$fg[255]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[202]%}✘✘✘" ZSH_THEME_GIT_PROMPT_CLEAN="%{$FG[040]%}✔" -ZSH_THEME_RUBY_PROMPT_PREFIX="‹" +ZSH_THEME_RUBY_PROMPT_PREFIX=" %{$FG[239]%}using%{$FG[243]%} ‹" ZSH_THEME_RUBY_PROMPT_SUFFIX="›%{$reset_color%}" |