279212f2ccab902911cd55f3380374f5be6e05db

Author
Max Staff <MaxMatti@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(theme_chooser): display non-zero exit code (#8428)

Fixes #8427

Diff

 1diff --git a/tools/theme_chooser.sh b/tools/theme_chooser.sh
 2index 82ae5857c2117aaedec0c6581741bd3b17d21806..3883f1d3764eb649ad758371c30b736fbc57bcb8 100755
 3--- a/tools/theme_chooser.sh
 4+++ b/tools/theme_chooser.sh
 5@@ -25,6 +25,7 @@ function theme_preview() {
 6     print "$fg[blue]${(l.((${COLUMNS}-${#THEME_NAME}-5))..─.)}$reset_color $THEME_NAME $fg[blue]───$reset_color"
 7     source "$THEMES_DIR/$THEME"
 8     cols=$(tput cols)
 9+    (exit 1)
10     print -P "$PROMPT                                                                                      $RPROMPT"
11 }
12