# HG changeset patch # User zegervdv # Date 1664202408 0 # Node ID b137de67217b0982c9dea4969672f6ded9e1c050 # Parent b26c4c6ac25c63ad88b635c2343ce47a5fd42848 fix issues with chezmoiscripts diff -r b26c4c6ac25c -r b137de67217b .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl Sun Sep 25 20:11:45 2022 +0000 +++ b/.chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl Mon Sep 26 14:26:48 2022 +0000 @@ -3,5 +3,7 @@ # colors hash: {{ include "dot_config/vivid/themes/espresso.yml" | sha256sum }} -vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }} +if [ -x "$(command -v vivid)" ]; then + vivid generate espresso > {{ joinPath .chezmoi.sourceDir "dot_lscolors" }} +fi {{ end -}} diff -r b26c4c6ac25c -r b137de67217b .chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl --- a/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl Sun Sep 25 20:11:45 2022 +0000 +++ b/.chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl Mon Sep 26 14:26:48 2022 +0000 @@ -3,7 +3,7 @@ # overlay hash: {{ include "dot_config/fsh/overlay.ini" | sha256sum }} -source ~/.zshrc +source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh fast-theme XDG:overlay {{ end -}}