Rimozione match-list e ottimizzazione completion con cache per hangup shell.

This commit is contained in:
Emiliano Vavassori 2024-06-18 22:38:09 +02:00
parent 983d716373
commit 2144737fda
3 changed files with 4 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ vim/plugged
vim/pack
vim/bundle
vim/spell
vim/coc-settings.json

View File

@ -21,13 +21,13 @@ setopt autocd
setopt inc_append_history
setopt histignorespace # Ignore putting in history commands beginning with a space
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Zaz}' # Case insensitive completion
#zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Zaz}' # Case insensitive completion
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Color completion
zstyle ':completion:*' rehash true # automatically updates new paths
# Speed completion
zstyle ':completion:*' accept-exact '*(N)'
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/.zsh/cache
#zstyle ':completion:*' use-cache on
#zstyle ':completion:*' cache-path ~/.zsh/cache
# History
HISTFILE=~/.zhistory

3
zshrc
View File

@ -13,9 +13,6 @@ compinit
autoload -U +X bashcompinit
bashcompinit
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE="true"
# zsh packages from system
if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then
source ${DOTFILES}/zsh/distro.base.zsh