add alias to chezmoi push

This commit is contained in:
Viktor Barzin 2026-01-24 00:31:33 +00:00
parent ec8b89eee1
commit add7e7c756

View file

@ -77,3 +77,9 @@ export LESS_TERMCAP_us=$'\e[1;4;31m'
# - secrets.zsh : API tokens (gitignored)
# - tools/*.zsh : Tool-specific configs (pyenv, nvm, kubectl)
# ============================================================================
czpush() {
local msg="${1:-Update dotfiles}"
cd "$(chezmoi source-path)" && git add -A && git commit -m "$msg" && git push
cd - > /dev/null
}