From 75a7b4949f0b608cb8d7a712f9a636b17da9b456 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 22 May 2019 11:10:15 +0100 Subject: [PATCH] Fix ZSH completion menu --- zshrc.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc.zsh b/zshrc.zsh index f98e01c..b16d5ad 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -61,6 +61,7 @@ source "$ZPLUG_HOME/init.zsh" alias zp="zplug" zplug "lib/history", from:oh-my-zsh, defer:1 +zplug "lib/completion", from:oh-my-zsh, defer:1 zplug "jimeh/zsh-peco-history", defer:2 zplug "plugins/bundler", from:oh-my-zsh zplug "plugins/git", from:oh-my-zsh @@ -90,6 +91,9 @@ zplug load # Completion # ============================================================================== +# Show menu and fix incorrect case immediately with the first tab key press +setopt MENU_COMPLETE + # Enable bash-style completion. autoload -Uz +X compinit && compinit autoload -Uz +X bashcompinit && bashcompinit