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

fix add-zsh-hook not found #1

Closed
wants to merge 1 commit into from
Closed

fix add-zsh-hook not found #1

wants to merge 1 commit into from

Conversation

veggiemonk
Copy link

I had the following error

.oh-my-zsh/custom/plugins/almostontop/almostontop.plugin.zsh:16: command not found: add-zsh-hook

After adding the test, everything is fine now.

@veggiemonk
Copy link
Author

By the way, this plugin rocks!!!! I was looking for something like that in a looooong time because I always end up writing at the bottom of the screen and this is not very ergonomic... Really hurt the back and the neck...
Thank you for this plugin!!!

@Valiev
Copy link
Owner

Valiev commented Nov 7, 2015

Hey @veggiemonk, really appreciate the feedback! Thanks!
About the PR: Don't want to rely on the specific path to enable the hook, seems like there is something more reliable. Since I'm not quite experienced in zsh stuff, I've just added autoload for the hook as a default behaviour.

@veggiemonk
Copy link
Author

Thanks @Valiev, your solution is better.
For reference: 28134f2

@veggiemonk veggiemonk closed this Nov 7, 2015
@Valiev
Copy link
Owner

Valiev commented Nov 8, 2015

@veggiemonk cool! Thanks for your efforts! 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants