diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index 3a2fc0e..48946a3 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -49,3 +49,15 @@ eval "$(jj util completion zsh)" [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" [ "$TERM" = "xterm-kitty" ] && alias ssh="TERM=xterm ssh" + +function update_now() { + cd ~/projects/personal/thermokar.st || return + jj git fetch --remote pingo && jj new deploy + hx now.md + if [[ -n $(jj diff) ]]; then + jj commit -m "$(now)" + jj tug + jj git push --remote pingo + jj git push --remote dokku + fi +}