hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.18k stars 93 forks source link

something went wrong with my MINGW64_NT-10.0-19045 #169

Closed huankong233 closed 3 months ago

huankong233 commented 11 months ago

Describe the bug

A clear and concise description of what the bug is.

Expected behavior

can config my hyfetch and print normally

Screenshots

image1 image2

If applicable, add screenshots to help explain your problem.

Config file

Please paste the content of ~/.config/hyfetch.json below:

{"preset": "transgender", "mode": "rgb", "light_dark": "dark", "lightness": 0.65, "color_align": {"mode": "horizontal", "custom_colors": [], "fore_back": null}, "backend": "neofetch", "distro": null, "pride_month_shown": [2023]}

Additional context

the image1 is that I can't configure parameters the image2 is that I use the config in my archlinux then print in strange way

huankong233 commented 11 months ago

image

hykilpikonna commented 11 months ago

What does bash.exe -c 'printf $BASH_VERSION' say?

huankong233 commented 11 months ago

image

huankong233 commented 11 months ago

但是其实我这个是 zsh 哈哈哈

huankong233 commented 11 months ago

用pip安装的

hykilpikonna commented 11 months ago

诶 不懂懂... 你能跑一下这个试试嘛?在想会不会是跑 neowofetch 的 bash.exe 和 hyfetch 检测到的 git bash 不一样

python3 -c "import hyfetch; print(hyfetch.neofetch_util.ensure_git_bash())"

huankong233 commented 11 months ago

image

hykilpikonna commented 11 months ago

那那 C:\"Program Files"\Git\bin\bash.exe -c 'printf $BASH_VERSION' 显示的是什么呀?

huankong233 commented 11 months ago

image 可能和我这个有关系

image 我手动换成bash就可以,虽然输出还是不对的

然后使用hyfetch到shell那一块就会卡死 image

huankong233 commented 11 months ago

image

嗯???好奇怪的问题🥺

huankong233 commented 11 months ago

image 这是neofetch的输出

huankong233 commented 3 months ago

image

切换到正规 MSYS2 环境后恢复正常, gitbash 环境缺少很多东西