Results of:
info "Memory" memory
info "Disk" disk
info "Resolution" resolution
Neofetch 7.1.0 shows this
Memory: 10521MiB / 16384MiB (64%)
Disk (/dev/disk1s1): /
Disk (/dev/disk1s2): /
Resolution: 3072x1920
Instead of this
Memory: 9536MiB / 16384MiB (58%)
Disk (/dev/disk1s1 466Gi 10Gi 359Gi 3% /): 10G / 466G (3%)
Disk (/dev/disk1s2 466Gi 92Gi 359Gi 21% /System/Volumes/Data): 92G / 466G (21%)
Resolution: 3072x1920
According to
git log -L /get_disk/,/disk_display/:neofetch
In commit c160c07399644533a778890ddb851ecb9d0a86a1
the disk_info array indices were changed to negative numbers.
e.g.
disk="${disk_info[2]/i} / ${disk_info[1]/i}${disk_perc:+ ($disk_perc%)}"
was changed to
disk="${disk_info[-4]/i} / ${disk_info[-5]/i}${disk_perc:+ ($disk_perc%)}"
If I change them back, it works as expected.
The specific error with the lines was
disk_info: bad array subscript
macOS Catalina still comes with a pretty old bash,
as they switched to zsh for their interactive shell
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.
Neofetch 7.1.0
info "Memory" memory
info "Disk" disk
info "Resolution" resolution
neofetch -vv 2> neofetchlogneofetchlog to pastebin, gist or equivalent.I solved it by updating bash. brew install bash
As you said, it's too old bash on macOS Catalina.
I don’t use homebrew. It’s simpler for me to patch neofetch.
-- Monty
Sent from my iPhone
On Nov 17, 2020, at 12:32 AM, yeongu notifications@github.com wrote:

I solved it by updating bash. brew install bash
As you said, it's too old bash on macOS Catalina.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Let me know if the issue still occurs.
That fixed it. Tested on Big Sur, which was still broken yesterday.
Computer: MacBookPro16,1
CPU: Intel i7-9750H (12) @ 2.60GHz
GPU: Intel UHD Graphics 630, AMD Radeon Pro 5300M
Memory: 9502MiB / 16384MiB (57%)
Disk (/): 14G / 466G (4%)
Resolution: 3072x1920
OS: macOS Big Sur 11.0.1 20B29 x86_64
Kernel: Darwin 20.1.0
Shell: zsh 5.8
Terminal: iTerm2
Terminal Font: Monaco 14
Locale: en_US.UTF-8
On Nov 17, 2020, at 8:44 AM, dylan notifications@github.com wrote:
Let me know if the issue still occurs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dylanaraps/neofetch/issues/1586#issuecomment-729053536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADFI3NESHIQRUX23DDPPLSQKR6NANCNFSM4S3WAFZQ.
Most helpful comment
That fixed it. Tested on Big Sur, which was still broken yesterday.
Computer: MacBookPro16,1
CPU: Intel i7-9750H (12) @ 2.60GHz
GPU: Intel UHD Graphics 630, AMD Radeon Pro 5300M
Memory: 9502MiB / 16384MiB (57%)
Disk (/): 14G / 466G (4%)
Resolution: 3072x1920
Battery: 100%
OS: macOS Big Sur 11.0.1 20B29 x86_64
Kernel: Darwin 20.1.0
Shell: zsh 5.8
Terminal: iTerm2
Terminal Font: Monaco 14
Locale: en_US.UTF-8