Mercurial > dotfiles
changeset 662:b137de67217b
fix issues with chezmoiscripts
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 26 Sep 2022 14:26:48 +0000 |
parents | b26c4c6ac25c |
children | fdce323431f4 |
files | .chezmoiscripts/run_onchange_after_apply-vivid.sh.tmpl .chezmoiscripts/run_onchange_after_apply-zsh-theme.sh.tmpl |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 -}}
--- 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 -}}