Skip to content

Feature Request: Improve error messages on invalid arguments#19

Description

@juarezr

zcomet is great!
It contributes a lot to lowering anxiety. 馃槃

But sometimes it's difficult to find what has gone wrong with your shell setup.

Let's take an example that took me some time to figure out:

$ zsh -ic 'echo ZSH and zcomet have had failures'
You need to specify a valid plugin name.
ZSH and zcomet have had failures
$ 

This was caused by the following incorrect command in the .zshrc file after zcomet was sourced:

zcomet load gcloud ohmyzsh plugins/gcloud

Maybe it's possible to make it easy to figure out what's wrong with some improvements to the error messages:

$ zsh -ic 'echo ZSH and zcomet have better messages'
zcomet: Failed to load 'gcloud' because an invalid plugin name was specified: plugins/gcloud
ZSH and zcomet better messages
$ 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions