view .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl @ 678:65f405947a28

Enable extra pre-commit checks (#4)
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Sat, 01 Oct 2022 10:27:32 +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 -}}