changeset 745:10e3f300baea

feat: add excludes for centos machines
author Zeger Van de Vannet <zegervdv@me.com>
date Mon, 19 Dec 2022 08:09:38 +0100
parents 3ebd380b6ce1
children cc66c8f2d548
files .chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl .chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl .chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl dot_zshrc
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl	Fri Jan 06 06:40:51 2023 +0000
+++ b/.chezmoiscripts/run_once_after_99-build-zsh-histdb-skim.sh.tmpl	Mon Dec 19 08:09:38 2022 +0100
@@ -1,4 +1,4 @@
-{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
+{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.osRelease.id "centos")) -}}
 #!/usr/bin/env zsh
 
 source $HOME/.asdf/asdf.sh
--- a/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Fri Jan 06 06:40:51 2023 +0000
+++ b/.chezmoiscripts/run_onchange_after_10-install-brew-packages.sh.tmpl	Mon Dec 19 08:09:38 2022 +0100
@@ -1,4 +1,4 @@
-{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.arch "arm64")) -}}
+{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.arch "arm64") (ne .chezmoi.osRelease.id "centos")) -}}
 #!/usr/bin/env bash
 
 # Brewfile hash: {{ include "dot_Brewfile" | sha256sum }}
--- a/.chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl	Fri Jan 06 06:40:51 2023 +0000
+++ b/.chezmoiscripts/run_onchange_after_20-install-asdf-plugins.sh.tmpl	Mon Dec 19 08:09:38 2022 +0100
@@ -1,4 +1,4 @@
-{{ if (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) -}}
+{{ if (and (or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin")) (ne .chezmoi.osRelease.id "centos")) -}}
 #!/usr/bin/env bash
 
 # asdf globals tools hash: {{ include "dot_tool-versions" | sha256sum }}
--- a/dot_zshrc	Fri Jan 06 06:40:51 2023 +0000
+++ b/dot_zshrc	Mon Dec 19 08:09:38 2022 +0100
@@ -12,7 +12,7 @@
 
 autoload -U colors && colors
 
-source ~/.config/zsh.env.zsh
+[ -f ~/.config/zsh.env.zsh ] && source ~/.config/zsh.env.zsh
 source ~/.config/zsh/prompt/colors.zsh
 
 vim_ins_mode="%F{black}%K{yellow} INS %k%f"