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
88c9d011
Commit
88c9d011
authored
Sep 19, 2013
by
Robby Russell
Browse files
Merge pull request #2087 from Stibbons/gsemet_push_theme_chooser
Display right prompt in theme chooser
parents
d5701784
0fcb7dd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/theme_chooser.sh
View file @
88c9d011
...
...
@@ -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
()
{
...
...
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