From 334bd02dca2e5d300894c9961f4041a96a93b9ef Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 24 Jan 2026 00:31:33 +0000 Subject: [PATCH] add alias to chezmoi push --- dot_zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dot_zshrc b/dot_zshrc index f726055..bf66bf9 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -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 +}