aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-12-24 07:54:50 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-12-24 07:54:50 +0300
commit0513e0fee45b9c90247f356695f0a41b77768225 (patch)
tree5876ae9b50e5067b4ec6c282ea72631ccb16b488 /internal/p10k.zsh
parent59db4252bbe7efe3292752633974ab5bbdc1fb44 (diff)
simplify `uname -m` matching on Windows platforms
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
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'