comparison .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl @ 662:b137de67217b

fix issues with chezmoiscripts
author zegervdv <zegervdv@me.com>
date Mon, 26 Sep 2022 14:26:48 +0000
parents 407d461cd377
children
comparison
equal deleted inserted replaced
661:b26c4c6ac25c 662:b137de67217b
1 {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}} 1 {{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
2 #!/usr/bin/env zsh 2 #!/usr/bin/env zsh
3 3
4 # colors hash: {{ include "dot_config/vivid/themes/espresso.yml" | sha256sum }} 4 # colors hash: {{ include "dot_config/vivid/themes/espresso.yml" | sha256sum }}
5 5
6 vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }} 6 if [ -x "$(command -v vivid)" ]; then
7 vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }}
8 fi
7 {{ end -}} 9 {{ end -}}