Skip to content

[PR #2409] Added support for Interix (Windows Subsystem for UNIX) #37

@suparious

Description

@suparious

Migrated from Original PR

Original PR: dylanaraps#2409
Author: @makuhlmann
Branch: master
Changes: +106/-2 lines


Original Description

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

dylanaraps#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 issue was automatically migrated from the archived dylanaraps/neofetch repository.
The code from the original PR can be cherry-picked or the author can submit a new PR to this fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from-upstream-prMigrated from original dylanaraps/neofetch PRhas-codePR with code ready to review/merge

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions