From be1ace246167652677ca2886564999ead8cf844d Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sat, 25 Apr 2015 01:43:20 +0200 Subject: [PATCH] zsh: Completion improvement --- .zsh/02_Completion.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.zsh/02_Completion.zsh b/.zsh/02_Completion.zsh index 25fb039..8b31bea 100644 --- a/.zsh/02_Completion.zsh +++ b/.zsh/02_Completion.zsh @@ -49,3 +49,11 @@ zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm #menu pour la completion zstyle ':completion:*' menu select=2 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s + +#function completion +fpath=(~/.zsh/Completion ~/.zsh/functions $fpath) +autoload -U ~/.zsh/Completion/*(:t) + +#Completion need `rehash` cmd to find newly installed soft or that +setopt nohashdirs +