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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 0bc1188..06ad005 100644 --- a/.config/shell/zsh-fast-syntax-highlighting/fast-theme +++ b/.config/shell/zsh-fast-syntax-highlighting/fast-theme @@ -234,13 +234,13 @@ if [[ "$1" = */* || "$1" = (XDG|LOCAL|HOME|OPT):* ]]; then [[ ! -r "$1" ]] && { print -u2 "Theme \`$1' unreadable, aborting"; return 1; } THEME_NAME="${1:t:r}" - fast-read-ini-file "$1" out "" + .fast-read-ini-file "$1" out "" else [[ ! -f "$FAST_BASE_DIR/themes/$1.ini" ]] && { print -u2 "No such theme \`$1', aborting"; return 1; } [[ ! -r "$FAST_BASE_DIR/themes/$1.ini" ]] && { print -u2 "Theme \`$1' unreadable, aborting"; return 1; } THEME_NAME="$1" - fast-read-ini-file "$FAST_BASE_DIR/themes/$1.ini" out "" + .fast-read-ini-file "$FAST_BASE_DIR/themes/$1.ini" out "" fi [[ -z "$OPT_SECONDARY" ]] && { [[ "$THEME_NAME" = *"overlay"* ]] && local outfile="theme_overlay.zsh" || local outfile="current_theme.zsh"; } || local outfile="secondary_theme.zsh" -- cgit v1.2.3