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
Fix missing add-zsh-hook #3053
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
/cc @robbyrussell |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In older version of zsh,
add-zsh-hook
is not available, causing issues like:See #748. This patch pulls in the changes suggested in #748 (comment) by @mcornella and I have tested it on RHEL 5.