diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-09-04 09:16:02 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-09-04 09:16:02 +0300 |
commit | 200b02b242f291ee988e19dad7196f2150c0a5d5 (patch) | |
tree | 118685b27101b5b1779d6fcd9c94646b9eaaed95 /internal/wizard.zsh | |
parent | 298fa2f325c50b250a9bc9fe664ee96107886813 (diff) |
better iTerm version filter
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-x | internal/wizard.zsh | 2 |
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 |