diff --git a/zsh/plugins.zsh b/zsh/plugins.zsh index 4e7c7e6..20d10c1 100644 --- a/zsh/plugins.zsh +++ b/zsh/plugins.zsh @@ -75,6 +75,9 @@ FAST_WORK_DIR="$ZSH_CACHE_DIR" if [[ "$TERM" != "linux" ]]; then _plugin fast-syntax-highlighting 'zdharma/fast-syntax-highlighting' "$_checkout_latest_version" set-my-syntax-theme() { fast-theme "$ZSH_DOTFILES/my-syntax-theme.ini" "$@"; } + if [[ "$FAST_THEME_NAME" != "my-syntax-theme" && -z "$DOTFILES_DISABLE_MY_COLORSCHEME" ]]; then + set-my-syntax-theme + fi fi unset _checkout_latest_version