diff options
| author | kj-sh604 | 2025-07-16 22:10:52 -0400 |
|---|---|---|
| committer | kj-sh604 | 2025-07-16 22:10:52 -0400 |
| commit | 1e204d36c1fab9884f65618ccca019d8cd5f9386 (patch) | |
| tree | 962ebadaa02a15d2f8441b290daf330bfbd48417 /.config/shell/zsh-fast-syntax-highlighting/_fast-theme | |
| parent | 7c9e54b5366ada655baf8c2b61914182840d6bb6 (diff) | |
refactor: update `zsh-fast-syntax-highlighting` plugin
Diffstat (limited to '.config/shell/zsh-fast-syntax-highlighting/_fast-theme')
| -rw-r--r-- | .config/shell/zsh-fast-syntax-highlighting/_fast-theme | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
