zsh: thermokar.st/now helper func
This commit is contained in:
parent
5ae4c105b1
commit
ad5da28996
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue