From da773a6a44a79c80822cb25be9dbb55c10c54dc7 Mon Sep 17 00:00:00 2001 From: sha1n Date: Wed, 7 Jan 2026 20:22:36 +0200 Subject: [PATCH] bugfix: changed load order Loading zsh-syntax-highlighting after compinit. This plugin must be sourced at the very end of your configuration. It needs to wrap widgets created by other plugins and completion systems to function correctly. Sourcing it early can break highlighting for specific commands or interfere with completion widgets. --- dotfiles/.gitignore_global | 4 ++++ load.zsh | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dotfiles/.gitignore_global b/dotfiles/.gitignore_global index 7932c98..65fc2eb 100644 --- a/dotfiles/.gitignore_global +++ b/dotfiles/.gitignore_global @@ -56,3 +56,7 @@ vendor/ # Other dirty files *.log *.jfr + +# LLM Instructions +CLAUDE.md +GEMINI.md diff --git a/load.zsh b/load.zsh index 09d4d80..87c52c8 100644 --- a/load.zsh +++ b/load.zsh @@ -12,7 +12,6 @@ export LC_CTYPE="en_US.UTF-8" # plugins fpath=($SHA1N_PROFILE_HOME/zsh-plugins/zsh-completions/src $fpath) source $SHA1N_PROFILE_HOME/zsh-plugins/path-ethic/path-ethic.plugin.zsh -source $SHA1N_PROFILE_HOME/zsh-plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source $SHA1N_PROFILE_HOME/zsh-plugins/zsh-history-substring-search/zsh-history-substring-search.zsh source $SHA1N_PROFILE_HOME/zsh-plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # theme @@ -25,3 +24,5 @@ source $SHA1N_PROFILE_HOME/include/keybindings source $SHA1N_PROFILE_HOME/include/completions source $SHA1N_PROFILE_HOME/include/history source $SHA1N_PROFILE_HOME/include/prompt + +source $SHA1N_PROFILE_HOME/zsh-plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh