1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

bug fix: display the right OS icon on Android

This commit is contained in:
romkatv 2019-10-13 11:48:29 +02:00
parent 3775ec7175
commit fc404a2d8a

View file

@ -4484,7 +4484,7 @@ function _p9k_init_cacheable() {
[[ $_p9k_uname == Linux ]] && _p9k_uname_o="$(uname -o 2>/dev/null)" [[ $_p9k_uname == Linux ]] && _p9k_uname_o="$(uname -o 2>/dev/null)"
_p9k_uname_m="$(uname -m)" _p9k_uname_m="$(uname -m)"
if [[ $_p9k_uname == Linux && _p9k_uname_o == Android ]]; then if [[ $_p9k_uname == Linux && $_p9k_uname_o == Android ]]; then
_p9k_set_os Android ANDROID_ICON _p9k_set_os Android ANDROID_ICON
else else
case $_p9k_uname in case $_p9k_uname in