Created
February 15, 2018 20:44
-
-
Save eltonlaw/e6fb84b3d5606d6492fb92f6313b1bcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH_ID=$1 | |
if [ -z "$SSH_ID" ]; then | |
echo "Error: No ssh config passed." | |
else | |
rsync ~/.tmux.conf $SSH_ID:~/.tmux.conf | |
rsync ~/.vimrc $SSH_ID:~/.vimrc | |
rsync -avr ~/.vim/ $SSH_ID:~/.vim/ | |
rsync -avr ~/.tmux/ $SSH_ID:~/.tmux/ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment