1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-24 20:30:44 +00:00

simplify uname -m matching on Windows platforms

This commit is contained in:
Roman Perepelitsa 2020-12-24 05:54:50 +01:00
parent 59db4252bb
commit 0513e0fee4

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'