simplify `uname -m` matching on Windows platforms
This commit is contained in:
parent
59db4252bb
commit
0513e0fee4
|
@ -8050,7 +8050,7 @@ function _p9k_init_cacheable() {
|
||||||
case $_p9k_uname in
|
case $_p9k_uname in
|
||||||
SunOS) _p9k_set_os Solaris SUNOS_ICON;;
|
SunOS) _p9k_set_os Solaris SUNOS_ICON;;
|
||||||
Darwin) _p9k_set_os OSX APPLE_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;;
|
FreeBSD|OpenBSD|DragonFly) _p9k_set_os BSD FREEBSD_ICON;;
|
||||||
Linux)
|
Linux)
|
||||||
_p9k_os='Linux'
|
_p9k_os='Linux'
|
||||||
|
|
Loading…
Reference in New Issue