summaryrefslogtreecommitdiff
path: root/themes/simonoff.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-12-13 17:12:31 +0100
committerMarc Cornellà <hello@mcornella.com>2021-12-13 17:14:25 +0100
commite3bb6e685dc0325f472a4cfadb9847add12ec699 (patch)
treea7b31f17a590f6c550f3e002cf396ba5e10e15e6 /themes/simonoff.zsh-theme
parentaa99472c8ac5bdd111ea306e800bb152fb8580ac (diff)
downloadzsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.tar.gz
zsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.tar.bz2
zsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.zip
refactor(themes): use `ruby_prompt_info` everywhere
Diffstat (limited to 'themes/simonoff.zsh-theme')
-rw-r--r--themes/simonoff.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/simonoff.zsh-theme b/themes/simonoff.zsh-theme
index c906192a0..201d5d7e4 100644
--- a/themes/simonoff.zsh-theme
+++ b/themes/simonoff.zsh-theme
@@ -68,7 +68,7 @@ ZSH_THEME_RUBY_PROMPT_SUFFIX="]"
# Decide if we need to set titlebar text.
case $TERM in
xterm*|*rxvt*)
- PR_TITLEBAR=$'%{\e]0;%(!.-=*[ROOT]*=- | .)%n@%M:%~ $(git_prompt_info) $(rvm_prompt_info) | ${COLUMNS}x${LINES} | %y\a%}'
+ PR_TITLEBAR=$'%{\e]0;%(!.-=*[ROOT]*=- | .)%n@%M:%~ $(git_prompt_info) $(ruby_prompt_info) | ${COLUMNS}x${LINES} | %y\a%}'
;;
screen)
PR_TITLEBAR=$'%{\e_screen \005 (\005t) | %(!.-=[ROOT]=- | .)%n@%m:%~ | ${COLUMNS}x${LINES} | %y\e\\%}'
@@ -88,7 +88,7 @@ fi
# Finally, the prompt.
PROMPT='$PR_SET_CHARSET$PR_STITLE${(e)PR_TITLEBAR}\
$PR_RED$PR_HBAR<\
-$PR_BLUE%(!.$PR_RED%SROOT%s.%n)$PR_GREEN@$PR_BLUE%M:$PR_GREEN%$PR_PWDLEN<...<%~$PR_CYAN$(git_prompt_info)$(rvm_prompt_info)\
+$PR_BLUE%(!.$PR_RED%SROOT%s.%n)$PR_GREEN@$PR_BLUE%M:$PR_GREEN%$PR_PWDLEN<...<%~$PR_CYAN$(git_prompt_info)$(ruby_prompt_info)\
$PR_RED>$PR_HBAR${(e)PR_FILLBAR}\
$PR_RED$PR_HBAR<\
$PR_GREEN%l$PR_RED>$PR_HBAR\