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 missing add-zsh-hook #3053

Merged
merged 1 commit into from Aug 31, 2014
Merged

Fix missing add-zsh-hook #3053

merged 1 commit into from Aug 31, 2014

Conversation

owenthereal
Copy link
Contributor

In older version of zsh, add-zsh-hook is not available, causing issues like:

/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:32: add-zsh-hook: function definition file not found
/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:33: add-zsh-hook: function definition file not found

See #748. This patch pulls in the changes suggested in #748 (comment) by @mcornella and I have tested it on RHEL 5.

In older version of zsh, `add-zsh-hook` is not available, causing issues like:

```
/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:32: add-zsh-hook: function definition file not found
/Users/hugo/.oh-my-zsh/lib/termsupport.zsh:33: add-zsh-hook: function definition file not found
```

See ohmyzsh#748. This patch pulls in the changes suggested in ohmyzsh#748 (comment) by @mcornella and I have tested it on RHEL 5.
@owenthereal
Copy link
Contributor Author

/cc @robbyrussell

robbyrussell added a commit that referenced this pull request Aug 31, 2014
@robbyrussell robbyrussell merged commit be578d9 into ohmyzsh:master Aug 31, 2014
clippit added a commit to clippit/oh-my-zsh that referenced this pull request Sep 1, 2014
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
ArjenSchwarz pushed a commit to ArjenSchwarz/oh-my-zsh that referenced this pull request Sep 16, 2014
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
gsemet pushed a commit to gsemet/oh-my-zsh that referenced this pull request Sep 17, 2014
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
noj pushed a commit to noj/oh-my-zsh that referenced this pull request Nov 4, 2014
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
benjaoming pushed a commit to benjaoming/oh-my-zsh that referenced this pull request Nov 28, 2014
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
kenton pushed a commit to kenton/oh-my-zsh that referenced this pull request Jan 9, 2015
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
hbpoison pushed a commit to hbpoison/oh-my-zsh that referenced this pull request Aug 14, 2015
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
NobbZ pushed a commit to NobbZ/oh-my-zsh that referenced this pull request May 15, 2016
Fix "command not found: add-zsh-hook" since ohmyzsh#3053 removes `autoload -U add-zsh-hook`
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