faynopi / meowfetch

minimal system information fetcher program written in go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when trying to show zsh shell version via shell_version

PoorPocketsMcNewHold opened this issue · comments

image

goroutine 1 [running]:
meowfetch/configs.ParseConfig()
	/home/pm/Documents/meowfetch/configs/config.go:44 +0x4e
main.main()
	/home/pm/Documents/meowfetch/main.go:27 +0x2e

(Ignore my shell repeating my commands, I misstyped the zsh command version and created a second zsh instance in the process)

The error message indicates that the error is within your configuration file. and your file is not a valid TOML file.

but it seems like you're right the shell version doesn't work properly. I'll fix this issue with a quick patch soon.

Closing for now.

Indeed. It was myself you incorrectly assumed the shell_version was a way to manually set a specific shell for the shell widget, instead as a true/false setting. Should have expected it with the default false setting. Works with #10.