Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Added support for Interix (Windows Subsystem for UNIX) #2409

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

makuhlmann
Copy link

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:

nfinterix

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

@hykilpikonna
Copy link

This is older than me :O

hykilpikonna added a commit to hykilpikonna/hyfetch that referenced this pull request Nov 1, 2023
…dows Subsystem for UNIX)

Upstream PR: dylanaraps#2409
Thanks to @makuhlmann

Co-authored-by: makuhlmann <19255462+makuhlmann@users.noreply.github.com>
@hykilpikonna
Copy link

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!

@makuhlmann
Copy link
Author

makuhlmann commented Nov 1, 2023

@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.

Screenshot 2023-11-01 115243

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants