Fix ZSH completion menu

This commit is contained in:
2019-05-22 11:10:15 +01:00
parent 3770ea1a55
commit 75a7b4949f

View File

@@ -61,6 +61,7 @@ source "$ZPLUG_HOME/init.zsh"
alias zp="zplug" alias zp="zplug"
zplug "lib/history", from:oh-my-zsh, defer:1 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 "jimeh/zsh-peco-history", defer:2
zplug "plugins/bundler", from:oh-my-zsh zplug "plugins/bundler", from:oh-my-zsh
zplug "plugins/git", from:oh-my-zsh zplug "plugins/git", from:oh-my-zsh
@@ -90,6 +91,9 @@ zplug load
# Completion # Completion
# ============================================================================== # ==============================================================================
# Show menu and fix incorrect case immediately with the first tab key press
setopt MENU_COMPLETE
# Enable bash-style completion. # Enable bash-style completion.
autoload -Uz +X compinit && compinit autoload -Uz +X compinit && compinit
autoload -Uz +X bashcompinit && bashcompinit autoload -Uz +X bashcompinit && bashcompinit