Skip to content

Commit c504407

Browse files
committed
Merge pull request #14 from TheLonelyGhost/bug/tilde-zcache-in-pwd
Autocompletion stops littering zcache files throughout filesystem
2 parents bbc1acd + 8eef62e commit c504407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/completion/init.zsh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ colors
3434
# Treat these characters as part of a word.
3535
WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
3636

37-
# Use caching to make completion for cammands such as dpkg and apt usable.
37+
# Use caching to make completion for commands such as dpkg and apt usable.
3838
zstyle ':completion:*' accept-exact '*(N)'
3939
zstyle ':completion:*' use-cache on
40-
zstyle ':completion:*' cache-path "~/.zcache"
40+
zstyle ':completion:*' cache-path "$HOME/.zcache"
4141

4242
# Case-insensitive (all), partial-word, and then substring completion.
4343
if zstyle -t ':dotzsh:module:completion:*' case-sensitive; then

0 commit comments

Comments
 (0)