Closed theRoboxx closed 1 month ago
Hi @theRoboxx. Reproduced with version 18.0. However, the issue is not there in the latest git version. Please give it a try.
clifm 1.18.4 (Apr 22, 2024)
OK, on my Arch it says just "clifm":
Thanks for your confirmation @muellerto.
As to the Shell
field showing clifm
(on Linux), I'm not sure why (but this is most likely related to fastfetch
rather than to clifm
itself). It might be because fastfetch
is getting the running shell by consulting the parent PID, but I'm not sure.
EDIT: Yeap, that's what it actually seems to be doing (i.e. checking /proc/PID/stat
):
Happened to find this.
Fastfetch have resolved similar issues by adding them to ignore list. I can do the same for clifm if needed.
That would be great @CarterLi. Thanks!
Just tried clifm. Seems that clifm spawn $SHELL process to run shell commands, so that the process tree is: terminal > shell > clifm > shell > fastfetch
So the problematic module should be Terminal
instead of Shell
Really curious why it worked differently in @muellerto's screenshot.
Anyway, I will make fastfetch ignore clifm in both Shell & Terminal module
the process tree is: terminal > shell > clifm > shell > fastfetch
This is true.
As to the Terminal field, I'm getting the right value, no matter what terminal I use.
Btw, I normally run clifm under valgrind, in which case fastfetch
takes valgrind as my shell. I guess you should add valgrind to the shell ignore list too.
okey
Hey @theRoboxx, can we mark this issue as solved?
Describe the bug
fastfetch
crashes when listing the Shell parameterTo Reproduce Steps to reproduce the behavior:
fastfetch
in foot-clientExpected behavior The
fastfetch
command should list every Laptop informationScreenshots Fish vs. Clifm![fastfetch](https://github.com/leo-arch/clifm/assets/63428105/c4ac371d-de61-46bc-bd01-c5f72e7dcf33)
Desktop (please complete the following information):