Closed japanese-goblinn closed 2 years ago
As far as i can tell problem is that for some reason script trying to read from /proc
which is not available on macOS
I have the same problem, but I am on an Intel Mac (macOS v11.2.3).
I have the same problem, but I am on an Intel Mac (macOS v11.2.3).
well, that's pretty weird
fyi if you installed from homebrew, line 1051 in /usr/local/Cellar/screenfetch/3.9.1/bin/screenfetch
(I installed from brew on 24th may 2021 intel mac v11.3.1)
1051 if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'Mac OS X' >/dev/null; then
change to
1051 if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'macOS' >/dev/null; then
Thanks @ironzombi!
If the reported disk usage is wrong, you can change line 1717 to give df
another mount point (default is /
).
In my case I had to change it to:
1717 totaldisk=$(df -H /System/Volumes/Data 2>/dev/null | tail -1)
If support for M1 MacBook is added to screenfetch, is this something we can improve/modify ? My educated guess is that this is related to APFS, so I think it affect all Macs with Sierra (10.12.4) or later.
As far as i can tell problem is that for some reason script trying to read from
/proc
which is not available onmacOS
@japanese-goblinn You can use neofetch
as an alternative as long as it doesn't support m1 yet. Can be installed with brew
.
https://github.com/dylanaraps/neofetch
fyi if you installed from homebrew, line 1051 in
/usr/local/Cellar/screenfetch/3.9.1/bin/screenfetch
(I installed from brew on 24th may 2021 intel mac v11.3.1)1051 if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'Mac OS X' >/dev/null; then
change to1051 if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i 'macOS' >/dev/null; then
thanks
I'm submitting a ... (check one with "x")
Bug report