mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Display right prompt in theme chooser
I didn't found the way to right-align the right prompt properly. Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
dff966afad
commit
0fcb7dd55e
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ function theme_preview() {
|
|||
THEME_NAME=`echo $THEME | sed s/\.zsh-theme$//`
|
||||
print "$fg[blue]${(l.((${COLUMNS}-${#THEME_NAME}-5))..─.)}$reset_color $THEME_NAME $fg[blue]───$reset_color"
|
||||
source "$THEMES_DIR/$THEME"
|
||||
print -P $PROMPT
|
||||
cols=$(tput cols)
|
||||
print -P "$PROMPT $RPROMPT"
|
||||
}
|
||||
|
||||
function banner() {
|
||||
|
|
Loading…
Reference in a new issue