diff --git a/dot_bashrc.tmpl b/dot_bashrc.tmpl index e0da498..2037759 100644 --- a/dot_bashrc.tmpl +++ b/dot_bashrc.tmpl @@ -136,6 +136,15 @@ fi alias cdd='cd {{ .deploydir }}' export cdd={{ .deploydir }} +sshloop() { + while : + do + ssh $1 + echo "Reconnection in 5 seconds" + sleep 5 + done +} + # --------------------------------------------------------------------------- # COMPLETIONS # ---------------------------------------------------------------------------