[zsh] fix a typo in the automatic theme setter

This commit is contained in:
Dmytro Meleshko 2021-01-03 19:27:52 +02:00
parent ffa7f8f38a
commit 51fd230d51

View file

@ -75,7 +75,7 @@ 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
if [[ "$FAST_THEME_NAME" != "my-syntax-theme" && -z "$DOTFILES_DISABLE_MY_SYNTAX_THEME" ]]; then
set-my-syntax-theme
fi
fi