Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.318 kb
#!/bin/bash
if [ -z $1 ]; then
echo "Usage: $0 <user>@<host>"
exit 1
fi
echo "--- Rsyncing dotfiles"
rsync -ave ssh --exclude '.git' ~/dotfiles $1:~/
echo "--- Rsyncing .oh-my-zsh"
rsync -ave ssh --exclude '.git' ~/.oh-my-zsh $1:~/
echo "--- Running dotfiles/deploy.sh"
ssh -t $1 "bash ~/dotfiles/deploy.sh"
Jump to Line
Something went wrong with that request. Please try again.