From 7775fb62e40165198e936e33bf6588667df78ca7 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 25 Nov 2021 11:02:15 +0000 Subject: [PATCH] zsh: Disable zsh fast-syntax-highlighting chromas This fixes `zi` being extremely slow in the shell. Signed-off-by: Joe Groocock --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index ce77306..ae21cad 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -108,6 +108,9 @@ bindkey -M vicmd K vi-kill-eol bindkey -M vicmd j vi-find-next-char-skip bindkey -M vicmd l vi-repeat-search +# Disable all fsh chromas, fixes `zi` being slow +FAST_HIGHLIGHT=() + ZSH_AUTOSUGGEST_USE_ASYNC=true ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=128 ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")