diff options
author | Max Staff <MaxMatti@users.noreply.github.com> | 2021-04-06 12:23:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 12:23:59 +0200 |
commit | 279212f2ccab902911cd55f3380374f5be6e05db (patch) | |
tree | ef01a48bef199dcce8c89c03768bb79132d8686e /tools | |
parent | 2d40b562e5da4c885babc1f7f09aa33a8a891eb2 (diff) | |
download | zsh-279212f2ccab902911cd55f3380374f5be6e05db.tar.gz zsh-279212f2ccab902911cd55f3380374f5be6e05db.tar.bz2 zsh-279212f2ccab902911cd55f3380374f5be6e05db.zip |
feat(theme_chooser): display non-zero exit code (#8428)
Fixes #8427
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/theme_chooser.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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" } |