Changed zzz_chezmoi sz.env loader into .tmpl file

This commit is contained in:
Lockszmith (@VAST) 2025-03-10 16:53:00 -04:00
parent fa49032c93
commit a4efa9b733
3 changed files with 3 additions and 1 deletions

View File

@ -1 +0,0 @@
../../../_src.posix/private_dot_config/sz.env/zzz_chezmoi.env

View File

@ -0,0 +1 @@
../../../_src.posix/private_dot_config/sz.env/zzz_chezmoi.env.tmpl

View File

@ -5,6 +5,8 @@ if is_cmd 'chezmoi'; then
alias cz="chezmoi "
eval "$( chezmoi completion "${SHELL##*/}" | sed -Ee 's/(complete -o default .* chezmoi)/\1 cz/' )"
export CHEZMOI_GITHUB_ACCESS_TOKEN={{- .githubToken | quote }}
czcd() {
cd "$(chezmoi source-path "${@}")"
}