mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +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:
parent
5ea5d4bc19
commit
61c63eea6b
2 changed files with 2 additions and 2 deletions
|
@ -8044,7 +8044,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-*) _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;;
|
||||
Linux)
|
||||
_p9k_os='Linux'
|
||||
|
|
|
@ -1070,7 +1070,7 @@ function os_icon_name() {
|
|||
case $uname in
|
||||
SunOS) echo SUNOS_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;;
|
||||
Linux)
|
||||
local os_release_id
|
||||
|
|
Loading…
Reference in a new issue