]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Load zsh/complist before compinit.
authorSimon Ruderich <simon@ruderich.org>
Fri, 6 Feb 2009 16:20:35 +0000 (17:20 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:42 +0000 (16:34 +0100)
This allows menu-select to work as mentioned in zshcompsys(1).

zsh/rc

diff --git a/zsh/rc b/zsh/rc
index b8ad05fab87c1686360f2581f49e6662322ed367..e133f6d18cf5a577da4b5595fd3f986995157b8b 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -162,11 +162,11 @@ fi
 
 # COMPLETION SETTINGS
 
-# Use new completion system.
-autoload -U compinit && compinit
 # Load the complist module which provides additions to completion lists
 # (coloring, scrollable).
 zmodload zsh/complist
+# Use new completion system.
+autoload -U compinit && compinit
 # Make sure the list of possible completions is displayed after pressing <TAB>
 # the first time.
 setopt nolistambiguous