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/pack
vim/bundle vim/bundle
vim/spell vim/spell
vim/coc-settings.json

View File

@ -21,13 +21,13 @@ setopt autocd
setopt inc_append_history setopt inc_append_history
setopt histignorespace # Ignore putting in history commands beginning with a space 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:*' list-colors "${(s.:.)LS_COLORS}" # Color completion
zstyle ':completion:*' rehash true # automatically updates new paths zstyle ':completion:*' rehash true # automatically updates new paths
# Speed completion # Speed completion
zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' accept-exact '*(N)'
zstyle ':completion:*' use-cache on #zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/.zsh/cache #zstyle ':completion:*' cache-path ~/.zsh/cache
# History # History
HISTFILE=~/.zhistory HISTFILE=~/.zhistory

3
zshrc
View File

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