1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 17:20:09 +00:00

Merge pull request #2087 from Stibbons/gsemet_push_theme_chooser

Display right prompt in theme chooser
This commit is contained in:
Robby Russell 2013-09-19 06:48:55 -07:00
commit 88c9d0113a

View file

@ -24,7 +24,8 @@ function theme_preview() {
THEME_NAME=`echo $THEME | sed s/\.zsh-theme$//` THEME_NAME=`echo $THEME | sed s/\.zsh-theme$//`
print "$fg[blue]${(l.((${COLUMNS}-${#THEME_NAME}-5))..─.)}$reset_color $THEME_NAME $fg[blue]───$reset_color" print "$fg[blue]${(l.((${COLUMNS}-${#THEME_NAME}-5))..─.)}$reset_color $THEME_NAME $fg[blue]───$reset_color"
source "$THEMES_DIR/$THEME" source "$THEMES_DIR/$THEME"
print -P $PROMPT cols=$(tput cols)
print -P "$PROMPT $RPROMPT"
} }
function banner() { function banner() {