zshrc: Add more robustness to completion caching setup [Closes: issue1933]
authorFrank Terbeck <ft@grml.org>
Fri, 9 Oct 2015 14:16:16 +0000 (16:16 +0200)
committerFrank Terbeck <ft@grml.org>
Fri, 9 Oct 2015 18:55:21 +0000 (20:55 +0200)
This is based on a suggestion by Thilo Six <tech@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@grml.org>

No differences found