1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-29 06:40:08 +00:00

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.
This commit is contained in:
Osman Tas 2020-12-23 08:58:10 -08:00 committed by GitHub
parent 5ea5d4bc19
commit 61c63eea6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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'

View file

@ -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