From 1fd6906c7131fff7dbfa46b7bfc4e4f27ec5e269 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 12 Dec 2011 13:26:10 +0100 Subject: [PATCH] boost git completion speed --- zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshrc b/zshrc index 15e427f..7c8337b 100644 --- a/zshrc +++ b/zshrc @@ -48,6 +48,11 @@ HISTFILE=~/.zsh_history autoload -Uz compinit compinit +# git completion speed boost +__git_files () { + _wanted files expl 'local files' _files +} + zstyle ':completion:*' auto-description 'specify: %d' zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' format 'Completing %d'