-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Overlay hooks don't work unless another hook is registered from command line #7760
Copy link
Copy link
Closed
Labels
A:hooksHooks are used to react to changes during interactive executionHooks are used to react to changes during interactive executioncategory:bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
I've been experimenting using zoxide as an overlay, however I'm running into an issue where hooks registered in overlays don't seem to work unless an additional hook is registered from the command line...
How to reproduce
See this gist: https://gist.github.com/jakeswenson/d37884285ee494287b576558ce888d70
Expected behavior
I expected hooks registered in overlays to work without registering an additional hook from the command line
Screenshots
No response
Configuration
version | transpose key value | to md --pretty
| key | value |
|---|---|
| version | 0.74.0 |
| branch | |
| commit_hash | |
| build_os | macos-aarch64 |
| build_target | aarch64-apple-darwin |
| rust_version | rustc 1.66.0 (69f9c33d7 2022-12-12) (built from a source tarball) |
| cargo_version | cargo 1.66.0 (d65d197ad 2022-11-15) |
| pkg_version | 0.74.0 |
| build_time | 2023-01-10 20:12:41 +00:00 |
| build_rust_channel | release |
| features | database, default, trash, which, zip |
| installed_plugins |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:hooksHooks are used to react to changes during interactive executionHooks are used to react to changes during interactive executioncategory:bugSomething isn't workingSomething isn't working