screenfetch
ls: /usr/local/Cellar/: No such file or directory
[...] (rest looks ok)
Basically, this line has to be changed. The current version probably just works for Intel Macs, so there needs to be a switch that uses a different location based on architecture.
This has been fixed in 7942bb2a839ac2a116ba177bd8483166fd9cf7f0. If you're still seeing this issue, try installing from HEAD (brew install --HEAD screenfetch) as the version in Homebrew is out of date.
I'm submitting a ... (check one with "x")
Bug report
Basically, this line has to be changed. The current version probably just works for Intel Macs, so there needs to be a switch that uses a different location based on architecture.
According to Stack Overflow:
Alternatively, something like this may work (only tested on Apple Silicon):