auto-creating cache directory
This commit is contained in:
parent
729bbe359c
commit
8f8eb38949
3
.zshrc
3
.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
|
# Turn on caching, which helps with e.g. apt
|
||||||
zstyle ':completion:*' use-cache on
|
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
|
# Show nice warning when nothing matched
|
||||||
zstyle ':completion:*:warnings' format '%No matches: %d%b'
|
zstyle ':completion:*:warnings' format '%No matches: %d%b'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user