From 279212f2ccab902911cd55f3380374f5be6e05db Mon Sep 17 00:00:00 2001 From: Max Staff Date: Tue, 6 Apr 2021 12:23:59 +0200 Subject: [PATCH] feat(theme_chooser): display non-zero exit code (#8428) Fixes #8427 --- tools/theme_chooser.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/theme_chooser.sh b/tools/theme_chooser.sh index 82ae5857c..3883f1d37 100755 --- a/tools/theme_chooser.sh +++ b/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" }