auto-creating cache directory

This commit is contained in:
Paweł Płazieński 2016-01-04 11:56:15 +01:00
parent 729bbe359c
commit 8f8eb38949

3
.zshrc
View File

@ -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'