Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Improve error messages on invalid arguments #19

Open
juarezr opened this issue Dec 12, 2023 · 0 comments
Open

Feature Request: Improve error messages on invalid arguments #19

juarezr opened this issue Dec 12, 2023 · 0 comments
Assignees

Comments

@juarezr
Copy link

juarezr commented Dec 12, 2023

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
$ 
@agkozak agkozak self-assigned this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants