Update os icon at zsh.exe on git for windows (#1180)

* Update os icon for windows

Windows icon is not shown on git for windows zsh.exe
Same update also added to wizards.zsh file.

* Update os icon for windows

Windows icon is not shown on git for windows zsh.exe
Same update also added to p10k.zsh file.
pull/1195/head
Osman Tas 4 years ago committed by GitHub
parent 5ea5d4bc19
commit 61c63eea6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8044,7 +8044,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-*) _p9k_set_os Windows WINDOWS_ICON;; CYGWIN_NT-*|MSYS_NT-*|MINGW64_NT-*|MINGW32_NT-*) _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'

@ -1070,7 +1070,7 @@ function os_icon_name() {
case $uname in case $uname in
SunOS) echo SUNOS_ICON;; SunOS) echo SUNOS_ICON;;
Darwin) echo APPLE_ICON;; Darwin) echo APPLE_ICON;;
CYGWIN_NT-* | MSYS_NT-*) echo WINDOWS_ICON;; CYGWIN_NT-*|MSYS_NT-*|MINGW64_NT-*|MINGW32_NT-*) echo WINDOWS_ICON;;
FreeBSD|OpenBSD|DragonFly) echo FREEBSD_ICON;; FreeBSD|OpenBSD|DragonFly) echo FREEBSD_ICON;;
Linux) Linux)
local os_release_id local os_release_id

Loading…
Cancel
Save