view .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl @ 672:627d2040c3ff

Use official stylua pre-commit config
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Thu, 29 Sep 2022 22:32:44 +0200
parents b137de67217b
children
line wrap: on
line source

{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
#!/usr/bin/env zsh

# colors hash: {{ include "dot_config/vivid/themes/espresso.yml" | sha256sum }}

if [ -x "$(command -v vivid)" ]; then
  vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }}
fi
{{ end -}}