Отключены некоторые автодополнения для работы в mc

This commit is contained in:
Andrei Astafev 2021-11-07 10:26:38 +03:00
parent dc2ac2eef7
commit 943fc1d242

View File

@ -1,3 +1,4 @@
if [ -z "${ZSH_IS_SUBSHELL}" ]; then
typeset -i _compinit_updated_at=$(date +'%j' -r $ZSH_COMPDUMP 2>/dev/null || stat -f '%Sm' -t '%j' $ZSH_COMPDUMP 2>/dev/null)
ZGEN_COMPINIT_FLAGS="-i"
if [ $(date +'%j') = $_compinit_updated_at ]; then
@ -10,6 +11,7 @@ autoload -Uz compinit && eval "compinit $ZGEN_COMPINIT_FLAGS -d $ZSH_COMPDUMP"
#zgenom load marlonrichert/zsh-autocomplete
zgenom load zsh-users/zsh-autosuggestions
fi
# Speed up autocomplete, force prefix mapping
zstyle ':completion:*' accept-exact '*(N)'