From 61c63eea6b8bc12c56dcb6cc40529cc5c643a94f Mon Sep 17 00:00:00 2001 From: Osman Tas Date: Wed, 23 Dec 2020 08:58:10 -0800 Subject: [PATCH] Update os icon at zsh.exe on git for windows (#1180) * Update os icon for windows Windows icon is not shown on git for windows zsh.exe Same update also added to wizards.zsh file. * Update os icon for windows Windows icon is not shown on git for windows zsh.exe Same update also added to p10k.zsh file. --- internal/p10k.zsh | 2 +- internal/wizard.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 9aa03f94..02524a2f 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8044,7 +8044,7 @@ function _p9k_init_cacheable() { case $_p9k_uname in SunOS) _p9k_set_os Solaris SUNOS_ICON;; Darwin) _p9k_set_os OSX APPLE_ICON;; - CYGWIN_NT-* | MSYS_NT-*) _p9k_set_os Windows WINDOWS_ICON;; + CYGWIN_NT-*|MSYS_NT-*|MINGW64_NT-*|MINGW32_NT-*) _p9k_set_os Windows WINDOWS_ICON;; FreeBSD|OpenBSD|DragonFly) _p9k_set_os BSD FREEBSD_ICON;; Linux) _p9k_os='Linux' diff --git a/internal/wizard.zsh b/internal/wizard.zsh index 83fbf07e..793c8ef3 100644 --- a/internal/wizard.zsh +++ b/internal/wizard.zsh @@ -1070,7 +1070,7 @@ function os_icon_name() { case $uname in SunOS) echo SUNOS_ICON;; Darwin) echo APPLE_ICON;; - CYGWIN_NT-* | MSYS_NT-*) echo WINDOWS_ICON;; + CYGWIN_NT-*|MSYS_NT-*|MINGW64_NT-*|MINGW32_NT-*) echo WINDOWS_ICON;; FreeBSD|OpenBSD|DragonFly) echo FREEBSD_ICON;; Linux) local os_release_id