From ce611fad09bf6a82910650a6777e042ecd7cb492 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 29 Mar 2021 21:05:01 +0530 Subject: added aliases to commit and push to this dots repo --- .config/zsh/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config') 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' -- cgit v1.2.3