From 8f8eb38949e0f1ff9f221a361b498e4f376146fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Mon, 4 Jan 2016 11:56:15 +0100 Subject: [PATCH] auto-creating cache directory --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 7a68f53..0e3dd6b 100644 --- a/.zshrc +++ b/.zshrc @@ -67,7 +67,8 @@ zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'r:|[._-]=** r:|=**' # Turn on caching, which helps with e.g. apt zstyle ':completion:*' use-cache on -zstyle ':completion:*' cache-path ~/.zsh/cache +zstyle ':completion:*' cache-path "$HOME/.zsh/cache" +mkdir -p $HOME/.zsh/cache # Show nice warning when nothing matched zstyle ':completion:*:warnings' format '%No matches: %d%b'