add alias to chezmoi push
This commit is contained in:
parent
ec8b89eee1
commit
add7e7c756
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue