From 200b02b242f291ee988e19dad7196f2150c0a5d5 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 4 Sep 2019 08:16:02 +0200 Subject: [PATCH] better iTerm version filter --- internal/wizard.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/wizard.zsh b/internal/wizard.zsh index b3138632..a386d5b5 100755 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -245,7 +245,7 @@ function can_install_font() { return fi if [[ "$(uname)" == Darwin && $TERM_PROGRAM == iTerm.app ]]; then - [[ $TERM_PROGRAM_VERSION == (2|3)* ]] || return + [[ $TERM_PROGRAM_VERSION == [2-9]* ]] || return if [[ -f ~/Library/Fonts ]]; then [[ -d ~/Library/Fonts && -w ~/Library/Fonts ]] || return else