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

Fixes #8427
master
Max Staff 5 years ago committed by GitHub
parent 2d40b562e5
commit 279212f2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tools/theme_chooser.sh

@ -25,6 +25,7 @@ function theme_preview() {
print "$fg[blue]${(l.((${COLUMNS}-${#THEME_NAME}-5))..─.)}$reset_color $THEME_NAME $fg[blue]───$reset_color"
source "$THEMES_DIR/$THEME"
cols=$(tput cols)
(exit 1)
print -P "$PROMPT $RPROMPT"
}

Loading…
Cancel
Save