1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 09:19:25 +00:00

[#255] Use $ZDOTDIR or $HOME

This commit is contained in:
Sorin Ionescu
2012-09-03 16:13:53 -04:00
parent fb9a20591f
commit 8cdf06e386
7 changed files with 18 additions and 15 deletions

View File

@ -39,7 +39,7 @@ WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
# Use caching to make completion for cammands such as dpkg and apt usable.
zstyle ':completion::complete:*' use-cache on
zstyle ':completion::complete:*' cache-path "$HOME/.zcompcache"
zstyle ':completion::complete:*' cache-path "${ZDOTDIR:-$HOME}/.zcompcache"
# Case-insensitive (all), partial-word, and then substring completion.
if zstyle -t ':prezto:module:completion:*' case-sensitive; then