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>
16 lines
325 B
Bash
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"
|