aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 40873d5..f5ee04b 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -54,6 +54,10 @@ alias zrc='nvim /home/zt/.config/zsh/.zshrc'
# git bare
alias dots='git --git-dir=$HOME/.dots/ --work-tree=$HOME'
+alias da='dots add'
+alias dc='dots commit'
+# if ssh daemon isn't running, start it and retry pushing
+alias dp='dots push || ssh-v && dots push'
# ssh
alias ssh-k='eval $(ssh-agent)&& ssh-add /home/zt/.ssh/kalawati_git_key'