zinit icon indicating copy to clipboard operation
zinit copied to clipboard

Remove %BIN_DIR fake plugin entry from `zinit times` output.

Open psprint opened this issue 3 years ago • 2 comments

Description

The fake %$ZINIT[BIN_DIR] plugin shouldn't be shown in zinit times output.

Motivation and Context

The fake null plugin is used to autoload a function from BIN_DIR zinit directory, it shouldn't be listed.

Related Issue(s)

#426

How Has This Been Tested?

It is a straightforward change, however I've tested it via zinit times and everything was OK.

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] I have added tests to cover my changes.
  • [x] All new and existing tests passed.

psprint avatar Dec 01 '22 11:12 psprint

@vladdoster: I've renamed the commit adding "fix:" prefix.

psprint avatar Dec 24 '22 12:12 psprint

Is anything wrong with PR? It's quite important to get this active as the fake absolute path plugin may be confusing users and is not nice to leave there dangling…

psprint avatar Dec 24 '22 15:12 psprint