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
Ohmyzsh
Commits
279212f2
Unverified
Commit
279212f2
authored
Apr 06, 2021
by
Max Staff
Committed by
GitHub
Apr 06, 2021
Browse files
feat(theme_chooser): display non-zero exit code (#8428)
Fixes #8427
parent
2d40b562
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/theme_chooser.sh
View file @
279212f2
...
@@ -25,6 +25,7 @@ function theme_preview() {
...
@@ -25,6 +25,7 @@ function theme_preview() {
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
"
cols
=
$(
tput cols
)
cols
=
$(
tput cols
)
(
exit
1
)
print
-P
"
$PROMPT
$RPROMPT
"
print
-P
"
$PROMPT
$RPROMPT
"
}
}
...
...
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