neofetch
neofetch copied to clipboard
Failed to start when executed from .zshrc (everytime teminal opens)
Description
Failed to start initially when executed from .zshrc (everytime teminal opens), but working fine after that (manual execution)
`++ stty size stty: 'standard input': Inappropriate ioctl for device /usr/bin/neofetch: line 4033: term_width / columns: division by 0 (error token is "columns")
- printf '\e[?25h\e[?7h'`
Neofetch version
Neofetch 7.0.0
Screenshot


Config file
https://gist.github.com/aldyadk/ed91fb2ef1b4bd6c567c999733fe75ef
Verbose log
Hi, I have almost the same problem on MacOS, all iw working fine when I start neofetch from command line (with zsh shell):

When I try to start neofetch with my .zshrc, the program cannot get the terminal resolution (iterm2):

Ask me if you need more logs / infos.
I have the same problem.

but if i open it manually works it correctly.
I solved the problem by commenting out some lines including 'p10k-instant-prompt'.