From 96ef3305db0d656788133dc41cbcf2a9de315d95 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 11 Aug 2014 21:36:57 +0200 Subject: zshrc: Use cache for completion, auto rehash commands --- zsh/.zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 053ad97..3b18550 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -37,6 +37,8 @@ setopt autocd \ # Menu completion zstyle ':completion:*' menu select +zstyle ':completion:*' use-cache on +zstyle ':completion:*' rehash yes DEFAULT_COLOR="%{${fg[default]}%}" function bold { printf "%s%s%s" "%{%B%}" "$1" "%{%b%}" } -- cgit v1.2.3-70-g09d2