dotfiles/run_onchange_after_z_configure_tide.sh.tmpl
Anton Volnuhin 95c88c3ce1 add tide-reset function, fix treesitter config for stable nvim
Extract tide configuration into a reusable fish function (tide-reset)
and call it from the chezmoi onchange script. Also revert treesitter
config to the stable API (nvim-treesitter.configs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 18:13:21 +03:00

16 lines
325 B
Bash

#!/usr/bin/env bash
# Tide prompt configuration — re-runs when fish_plugins changes
# fish_plugins hash: {{ include "private_dot_config/private_fish/fish_plugins" | sha256sum }}
set -e
if ! command -v fish >/dev/null 2>&1; then
exit 0
fi
if ! fish -c "type -q tide" &>/dev/null; then
exit 0
fi
fish -c "tide-reset"