diff options
author | Jingwen Owen Ou <jingweno@gmail.com> | 2014-08-22 15:59:17 -0700 |
---|---|---|
committer | Jingwen Owen Ou <jingweno@gmail.com> | 2014-08-22 15:59:17 -0700 |
commit | dc9e1764cfd0987f104f57bac0b974e0941f1e42 (patch) | |
tree | b59e1fe4273a1bd8bbdabbd40a0f505578990e47 /lib/correction.zsh | |
parent | 1b7a3ea99a8b566510ab7881063148c43be6b98d (diff) | |
download | zsh-dc9e1764cfd0987f104f57bac0b974e0941f1e42.tar.gz zsh-dc9e1764cfd0987f104f57bac0b974e0941f1e42.tar.bz2 zsh-dc9e1764cfd0987f104f57bac0b974e0941f1e42.zip |
Fix missing add-zsh-hook
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 https://github.com/robbyrussell/oh-my-zsh/issues/748. This patch pulls in the changes suggested in https://github.com/robbyrussell/oh-my-zsh/issues/748#issuecomment-37862691 by @mcornella and I have tested it on RHEL 5.
Diffstat (limited to 'lib/correction.zsh')
0 files changed, 0 insertions, 0 deletions