Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os_icon detection is failing on EndeavourOS #2388

Closed
soya-daizu opened this issue Jul 25, 2023 · 1 comment
Closed

os_icon detection is failing on EndeavourOS #2388

soya-daizu opened this issue Jul 25, 2023 · 1 comment

Comments

@soya-daizu
Copy link

typeset -pm 'POWERLEVEL9K_MODE|_p9k_os*' && cat /etc/os-release
typeset _p9k_os=Linux
typeset _p9k_os_icon=
typeset POWERLEVEL9K_MODE=nerdfont-v3
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2023.05.28"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

Looking at wizard.zsh, this could be related to the existence of surrounding double quotes.

case $os_release_id in
*arch*) echo LINUX_ARCH_ICON;;
*debian*) echo LINUX_DEBIAN_ICON;;
*raspbian*) echo LINUX_RASPBIAN_ICON;;
*ubuntu*) echo LINUX_UBUNTU_ICON;;
*elementary*) echo LINUX_ELEMENTARY_ICON;;
*fedora*) echo LINUX_FEDORA_ICON;;
*coreos*) echo LINUX_COREOS_ICON;;
*kali*) echo LINUX_KALI_ICON;;
*gentoo*) echo LINUX_GENTOO_ICON;;
*mageia*) echo LINUX_MAGEIA_ICON;;
*centos*) echo LINUX_CENTOS_ICON;;
*opensuse*|*tumbleweed*) echo LINUX_OPENSUSE_ICON;;
*sabayon*) echo LINUX_SABAYON_ICON;;
*slackware*) echo LINUX_SLACKWARE_ICON;;
*linuxmint*) echo LINUX_MINT_ICON;;
*alpine*) echo LINUX_ALPINE_ICON;;
*aosc*) echo LINUX_AOSC_ICON;;
*nixos*) echo LINUX_NIXOS_ICON;;
*devuan*) echo LINUX_DEVUAN_ICON;;
*manjaro*) echo LINUX_MANJARO_ICON;;
*void*) echo LINUX_VOID_ICON;;
*artix*) echo LINUX_ARTIX_ICON;;
*rhel*) echo LINUX_RHEL_ICON;;
amzn) echo LINUX_AMZN_ICON;;
endeavouros) echo LINUX_ENDEAVOUROS_ICON;;
*) echo LINUX_ICON;;
esac

@romkatv
Copy link
Owner

romkatv commented Jul 25, 2023

Thanks for the bug report. Fixed.

@romkatv romkatv closed this as completed Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants