From 1e204d36c1fab9884f65618ccca019d8cd5f9386 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Wed, 16 Jul 2025 22:10:52 -0400 Subject: refactor: update `zsh-fast-syntax-highlighting` plugin --- .config/shell/zsh-fast-syntax-highlighting/_fast-theme | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.config/shell/zsh-fast-syntax-highlighting/_fast-theme') diff --git a/.config/shell/zsh-fast-syntax-highlighting/_fast-theme b/.config/shell/zsh-fast-syntax-highlighting/_fast-theme index 4c88062..67f8a4d 100644 --- a/.config/shell/zsh-fast-syntax-highlighting/_fast-theme +++ b/.config/shell/zsh-fast-syntax-highlighting/_fast-theme @@ -26,6 +26,12 @@ arguments=( typeset -a themes themes=( "$FAST_WORK_DIR"/themes/*.ini(:t:r) ) +if [[ -d ${XDG_CONFIG_HOME:-$HOME/.config}/fsh ]] { + typeset -a themes2 + themes2=( "${XDG_CONFIG_HOME:-$HOME/.config}"/fsh/*.ini(:t:r) ) + themes+=( XDG:${^themes2[@]} ) +} + _wanted themes expl "Themes" \ compadd "$@" -a - themes && ret=0 _arguments -s $arguments && ret=0 -- cgit v1.2.3