More hooks #51
Replies: 4 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello @TorchedSammy 👋 job.did() -- yay! :)
job.fail() -- nay. :( Or even just This can be done on zsh, but not natively, there are tons of plugins, but I think info (mainly errors) about my jobs should be native. Some shells have directory-changed hooks already but none have vim's P.S As this project grows, also consider making a Matrix chat room for general stuff? I don't want to spam your Github! 😂 THANK YOU FOR HILBISH! |
Beta Was this translation helpful? Give feedback.
-
Discord is good for me! :)
Thank you!!!
Of course!
The hook should be configurable, else what is a long-running command? 11 seconds? 30 seconds? what do we mask? I dontt consider commands like
Shells lack registers, we cut/copy/paste alot in the shell but you can only retrieve your last paste (easily), unless you use zsh's vi-mode, you can retrieve the last ten yanks, just like in vim. Problem? how do you see these yanks? where are they? Almost forgot! |
Beta Was this translation helpful? Give feedback.
-
in hilbish 0.2 the
bait
module was added to throw and catch hooks. the hooks added werecommand.success
andcommand.fail
in hilbish 0.3 those 2 hooks were changed to a single
command.exit
but there's no other official hilbish hooks in existence. want one to be added/have a good idea? send comment pls im out of ideas thank u
Beta Was this translation helpful? Give feedback.
All reactions