aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-11 21:36:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-08-11 21:36:57 +0200
commit96ef3305db0d656788133dc41cbcf2a9de315d95 (patch)
treef19aceafee0e701a83cbef9ec7582d236f949eef /zsh/.zshrc
parenta3a40989a37c22e2e9b4e16da2067904dcac250b (diff)
downloaddotfiles-96ef3305db0d656788133dc41cbcf2a9de315d95.tar.xz
zshrc: Use cache for completion, auto rehash commands
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
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%}" }