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

@ -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 "${@}")"
}