[Git-commits] [grml/grml-etc-core] c4db6d: Add static version of add-zsh-hook

Frank Terbeck ft at grml.org
Sat Jun 6 01:10:43 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-etc-core
  Commit: c4db6d7ae04cad5b87d1b6a1e0f79bf09ad5794e
      https://github.com/grml/grml-etc-core/commit/c4db6d7ae04cad5b87d1b6a1e0f79bf09ad5794e
  Author: Frank Terbeck <ft at grml.org>
  Date:   2015-06-06 (Sat, 06 Jun 2015)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  Add static version of add-zsh-hook

This adds a static version of the ‘add-zsh-hook’ function from zsh
upstream. It is included for now to make the setup work with older
versions of zsh (prior to 4.3.7) in which this function had a bug that
triggers annoying errors during shell startup.

This is exactly upstreams code from f0068edb4888a4d8fe94def, with just a
few adjustments in coding style to make the function look more compact.
This definition can be removed as soon as we raise the minimum version
requirement to 4.3.7 or newer.




More information about the Git-commits mailing list