From 3888baed8cc304c45aa576b3dd2b0a41fc2ba74e Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 9 Dec 2024 13:34:04 -0800 Subject: [PATCH] Convert templates to files that wasn't needed --- .chezmoiignore | 1 + .../profile/profile.d/{functions.sh.tmpl => functions.sh} | 2 -- .../profile/profile.d/{hellotech.sh.tmpl => hellotech.sh} | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) rename dot_config/profile/profile.d/{functions.sh.tmpl => functions.sh} (94%) rename dot_config/profile/profile.d/{hellotech.sh.tmpl => hellotech.sh} (81%) diff --git a/.chezmoiignore b/.chezmoiignore index eb851ee..b4ed769 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -8,4 +8,5 @@ {{- if not .hellotech }} /.config/profile/env.d/hellotech.env /.config/profile/profile.d/trubka.sh +/.config/profile/profile.d/hellotech.sh {{- end }} diff --git a/dot_config/profile/profile.d/functions.sh.tmpl b/dot_config/profile/profile.d/functions.sh similarity index 94% rename from dot_config/profile/profile.d/functions.sh.tmpl rename to dot_config/profile/profile.d/functions.sh index 0aa32b2..7582c7b 100644 --- a/dot_config/profile/profile.d/functions.sh.tmpl +++ b/dot_config/profile/profile.d/functions.sh @@ -1,5 +1,3 @@ -# chezmoi:template:left-delimiter=#{{ -#{{- /* vim: set filetype=sh: */ -}} #shellcheck shell=sh source_env_file() { diff --git a/dot_config/profile/profile.d/hellotech.sh.tmpl b/dot_config/profile/profile.d/hellotech.sh similarity index 81% rename from dot_config/profile/profile.d/hellotech.sh.tmpl rename to dot_config/profile/profile.d/hellotech.sh index d3d532e..85531f9 100644 --- a/dot_config/profile/profile.d/hellotech.sh.tmpl +++ b/dot_config/profile/profile.d/hellotech.sh @@ -1,7 +1,3 @@ -# chezmoi:template:left-delimiter=#{{ -#{{- /* vim: set filetype=sh: */ -}} -#{{- if .hellotech -}} - k8s_last_config () ( dasel --read yaml --write json \ | jq --raw-output '.metadata.annotations["kubectl.kubernetes.io/last-applied-configuration"]' \ @@ -24,4 +20,3 @@ _append_path /usr/local/opt/mysql-client/bin _append_path "${HOME}/google-cloud-sdk/bin" unset _append_path -#{{- end }}