ZSH Config: set completion options & speed up completions
This commit is contained in:
parent
6d66e4afcf
commit
7d28e99e3e
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ setopt histignorealldups # If a new comma
|
||||||
setopt autocd # if only directory path is entered, cd there.
|
setopt autocd # if only directory path is entered, cd there.
|
||||||
setopt inc_append_history # save commands are added to the history immediately, otherwise only when shell exits.
|
setopt inc_append_history # save commands are added to the history immediately, otherwise only when shell exits.
|
||||||
|
|
||||||
|
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
|
||||||
|
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc)
|
||||||
|
zstyle ':completion:*' rehash true # automatically find new executables in path
|
||||||
|
# Speed up completions
|
||||||
|
zstyle ':completion:*' accept-exact '*(N)'
|
||||||
|
zstyle ':completion:*' use-cache on
|
||||||
|
zstyle ':completion:*' cache-path ~/.zsh/cache
|
||||||
####################################################################################################################################################
|
####################################################################################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue