neofetch
neofetch copied to clipboard
Added support for Interix (Windows Subsystem for UNIX)
Description
This PR adds support for the Interix environment, also called "Windows Services for UNIX" or "Windows Subsystem for UNIX-based Applications", which was available from Windows NT 4.0 until Windows 8 and Server 2012.
I have followed the coding guidelines to the best of my abilities. All changes have passed shellcheck.
Features
This PR adds proper detection of the OS, Distro, Model, Kernel, Uptime, CPU, GPU, Memory, Battery, Packages and Battery. A colored logo has been added as well, based on this icon commonly used for the UNIX Subsystem
Example output:
Issues
#1822
TODO
The Interix implementations of bash and other UNIX like features are a bit quirky, causing the following issues:
- Random digits are printed before the logo is printed
- Shell and Terminal detection do not work reliably yet
- Disk detection does not work because df does not list a / mount point
- On Host and CPU sometimes white spaces are replaced with a ⌂ character
This is older than me :O
Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!
@hykilpikonna Thanks! Though rendering and the memory units seem to be broken in hyfetch. I might take a peek later if I can find the cause.