[Git-commits] [grml/grml-etc-core] fd3a55: zshrc: Add more robustness to completion caching s...

Frank Terbeck ft at grml.org
Fri Oct 9 20:56:14 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-etc-core
  Commit: fd3a55f78b1e316727760a92dcd3f0759013549c
      https://github.com/grml/grml-etc-core/commit/fd3a55f78b1e316727760a92dcd3f0759013549c
  Author: Frank Terbeck <ft at grml.org>
  Date:   2015-10-09 (Fri, 09 Oct 2015)

  Changed paths:
    M doc/grmlzshrc.t2t
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: Add more robustness to completion caching setup [Closes: issue1933]

This is based on a suggestion by Thilo Six <tech at xk2c.de>.

The setup now uses $GRML_COMP_CACHING to decide on whether to configure
caching at all and $GRML_COMP_CACHE_DIR to tell where to put the caching
data.

It also makes sure the caching directory actually exists before using it.

See the included documentation for details.

Signed-off-by: Frank Terbeck <ft at grml.org>


  Commit: ea0e7e8f8398b56acfc3988255df57efc29aa65d
      https://github.com/grml/grml-etc-core/commit/ea0e7e8f8398b56acfc3988255df57efc29aa65d
  Author: Frank Terbeck <ft at grml.org>
  Date:   2015-10-09 (Fri, 09 Oct 2015)

  Changed paths:
    M etc/zsh/zshrc

  Log Message:
  -----------
  zshrc: Remove unused parameter $ZSHDIR

It was only used with the previous cache setup. The new setup
now uses ${ZDOTDIR:-$HOME} like everything else in the zshrc does.

Signed-off-by: Frank Terbeck <ft at grml.org>


Compare: https://github.com/grml/grml-etc-core/compare/21c8c5cf7e67...ea0e7e8f8398


More information about the Git-commits mailing list