From 0513e0fee45b9c90247f356695f0a41b77768225 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Thu, 24 Dec 2020 05:54:50 +0100 Subject: [PATCH] simplify `uname -m` matching on Windows platforms --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index e2b450c6..ac1b74d5 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -8050,7 +8050,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-*|MINGW64_NT-*|MINGW32_NT-*) _p9k_set_os Windows WINDOWS_ICON;; + CYGWIN*|MSYS*|MINGW*) _p9k_set_os Windows WINDOWS_ICON;; FreeBSD|OpenBSD|DragonFly) _p9k_set_os BSD FREEBSD_ICON;; Linux) _p9k_os='Linux'