From c43fcb07b3521655b4b44dea93c9acff64baeb8c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 6 Feb 2009 17:22:34 +0100 Subject: [PATCH] Use completion dumpfile in ~/.zsh/cache. This reduces cluttering of ~/ with Zsh files. --- zsh/rc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/rc b/zsh/rc index e133f6d..a13c020 100644 --- a/zsh/rc +++ b/zsh/rc @@ -165,8 +165,9 @@ fi # Load the complist module which provides additions to completion lists # (coloring, scrollable). zmodload zsh/complist -# Use new completion system. -autoload -U compinit && compinit +# Use new completion system, store dumpfile in ~/.zsh/cache to prevent +# cluttering of ~/. +autoload -U compinit && compinit -d ~/.zsh/cache/zcompdump # Make sure the list of possible completions is displayed after pressing # the first time. setopt nolistambiguous -- 2.44.1