Skip to content

Commit

Permalink
Merge pull request dotphiles#14 from TheLonelyGhost/bug/tilde-zcache-…
Browse files Browse the repository at this point in the history
…in-pwd

Autocompletion stops littering zcache files throughout filesystem
  • Loading branch information
benohara committed May 15, 2015
2 parents bbc1acd + 8eef62e commit c504407
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/completion/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ colors
# Treat these characters as part of a word.
WORDCHARS='*?_-.[]~&;!#$%^(){}<>'

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

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

0 comments on commit c504407

Please sign in to comment.