aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-09-04 09:16:02 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-09-04 09:16:02 +0300
commit200b02b242f291ee988e19dad7196f2150c0a5d5 (patch)
tree118685b27101b5b1779d6fcd9c94646b9eaaed95 /internal/wizard.zsh
parent298fa2f325c50b250a9bc9fe664ee96107886813 (diff)
better iTerm version filter
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-xinternal/wizard.zsh2
1 files changed, 1 insertions, 1 deletions
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