diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:05:01 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-03-29 21:05:01 +0530 |
commit | ce611fad09bf6a82910650a6777e042ecd7cb492 (patch) | |
tree | 960df3918e81ebb02cd930772551d9e2f221defe /.config | |
parent | 9510cebc37deaba233c41adc36e9179c22d8b74b (diff) |
added aliases to commit and push to this dots repo
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshrc | 4 |
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' |