simplify `uname -m` matching on Windows platforms

pull/1195/head
Roman Perepelitsa 2020-12-24 05:54:50 +01:00
parent 59db4252bb
commit 0513e0fee4
1 changed files with 1 additions and 1 deletions

View File

@ -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'