mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 20:30:07 +00:00
simplify uname -m
matching on Windows platforms
This commit is contained in:
parent
59db4252bb
commit
0513e0fee4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue