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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't save an arbitrary report #2

Open
yn opened this issue Dec 14, 2016 · 0 comments
Open

Can't save an arbitrary report #2

yn opened this issue Dec 14, 2016 · 0 comments

Comments

@yn
Copy link
Owner

yn commented Dec 14, 2016

The way this is written, reports are either a result of plugin loading; plugin load reports stick around, and there can only be one debug report at a time. I'd like to be able to save debug reports for later. The exact use case I am thinking of:

Right now, in my dotfiles, I have a separate plugin that calls compinit because I want to be able to see a report on what compinit does. If there was support for saving a debug report under a name for later, I could just do something like this:

compinit
zplug dstop
zplug dsavereport _local/compinit

and then it would show up as part of all-reports. All-reports currently is hardcoded to output all the plugins, and the global debug report. I could just hack _local/compinit into the global plugin structure, since it's not a real plugin, that might have weird consequences.

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

1 participant