Giter VIP home page Giter VIP logo

eshell-info-banner.el's Introduction

My Github Stats

Who Am I?

My Fields of Interest

  • Emacs
  • GNU/Linux
  • System Administration (currently managing six servers)
  • Linguistics
  • Conlanging
  • Worldbuilding
  • Writing

eshell-info-banner.el's People

Contributors

bkaestner avatar juergenhoetzel avatar phundrak avatar sqrtminusone avatar syohex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eshell-info-banner.el's Issues

Wrong Ram Info

Not sure what info you need from me to properly debug this :)
Also, mac has 16 GB available

Screen Shot 2021-12-29 at 10 31 12 PM

OS and Linux distribution support requests

While #2 standardized the retrieval of the name of the running Linux distribution, eshell-info-banner.el has yet to support non-standard Linux distributions (such as GUIX) and non-Linux OSes, such as macOS and Windows.
Here will be listed Linux distributions and OSes not yet supported:

This list is subject to changes in the future, by shrinking or expanding.

[Question] no command and variables after successful installation

Hello,
it seems that something under the hood is going wrong.
I use emacs 28 on fedora.
installation from melpa runs without error.
but there is no command and no variables.
so i think, that something is wrong silently...
i tried it inside eshell buffer and outside.
Nothing :-(
any idea to start?

Regards
Poul

Incorrect macOS version detection

My macOS VM runs undern macOS Catalina, version 10.15. However, the
eshell-info-banner--get-macos-name macro matches version 10.1 first,
resulting in Mac OS X Puma being detected instead.

Add ZFS support

ATM ZFS partitions are filtered out because of the missing "/dev" prefix:

....
zroot/ROOT/default           1,2T    747G  458G   63% /
zroot/data/home              900G    443G  458G   50% /home
...

Battery Levels are not displayed

See image:
Screen Shot 2022-01-04 at 10 56 55 AM

Source of problem:

(when (file-readable-p "/sys/") (battery))

(file-readable-p "/sys/") returns nil but (battery) returns info.
I removed the when statement and it works. \o/

Not sure what the reasoning behind that condition is though.

`eshell-info-banner` fails if `/etc/os-release` not present

In some non-standard Linux distributions such as GUIX, /etc/os-release is not present, causing eshell-info-banner to fail. Distribution name should be retrieved in a more standard way, ideally through commands such as lsb_release or hostnamectl and not from local files. If both fail, a default value should be provided.

Wrong filesystem size shown without duf on GNU/Linux

I haven’t had the opportunity to test it on other devices, but my Chromebook shows erroneous filesystem sizes. Relevant part of eshell-info-banner’s output:

/.......: [=============================================]   6.6M / 11.8M  ( 55%)
/boot...: [=============================================]  55.9k / 1022k  (  5%)

Output of df:

$ df
Filesystem     1K-blocks    Used Available Use% Mounted on
dev               961288       0    961288   0% /dev
run               969272    1000    968272   1% /run
/dev/mmcblk1p3  12358636 6916504   5258008  57% /
tmpfs             969272       0    969272   0% /dev/shm
tmpfs             969272       8    969264   1% /tmp
/dev/mmcblk1p1   1046512   57220    989292   6% /boot
tmpfs             193852      28    193824   1% /run/user/1000

This needs to be investigated and fixed.

I am running:

  • an up-to-date Arch Linux
  • the latest commit eshell-info-banner.el
  • Emacs 28.1 with nativecomp enabled (extra/emacs-nativecomp package)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.