zsh autocomplete list
This commit is contained in:
@@ -14,6 +14,14 @@ setopt HIST_IGNORE_SPACE # Don't save commands starting with space
|
||||
setopt INC_APPEND_HISTORY # Write to history immediately, not at shell exit
|
||||
setopt SHARE_HISTORY # Share history between sessions
|
||||
|
||||
# Completion
|
||||
autoload -U compinit && compinit
|
||||
zmodload zsh/complist
|
||||
|
||||
zstyle ':completion:*' menu select # show menu, highlight selection
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # file-type colors (dirs, executables, etc.)
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # case-insensitive matching
|
||||
|
||||
# Plugins
|
||||
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
|
||||
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
|
||||
|
||||
Reference in New Issue
Block a user