view .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl @ 674:5631c3f65dc1

Add checks for applying config (#2)
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Thu, 29 Sep 2022 23:04:45 +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 -}}