Skip to content

Instantly share code, notes, and snippets.

@humiaozuzu
Last active December 15, 2015 21:38
Show Gist options
  • Save humiaozuzu/5326740 to your computer and use it in GitHub Desktop.
Save humiaozuzu/5326740 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
if [ -f $HOME/.vimrc ]; then
echo "Backup .vimrc"
mv $HOME/.vimrc $HOME/.vimrc.backup
fi
curl -s https://raw.github.com/gist/4162331/.vimrc -L > $HOME/.vimrc
if [ -f $HOME/.bashrc ]; then
echo "Backup .vimrc"
mv $HOME/.bashrc $HOME/.bashrc.backup
fi
curl -s https://raw.github.com/gist/4640921/.bashrc -L > $HOME/.bashrc
if [ -f $HOME/.tmux.conf ]; then
echo "Backup .vimrc"
mv $HOME/.tmux.conf $HOME/.tmux.conf.backup
fi
curl -s https://raw.github.com/gist/3294898/.tmux.conf -L > $HOME/.tmux.conf
@humiaozuzu
Copy link
Author

install
curl -L https://raw.github.com/gist/5326740/install_dotfiles.sh | bash -s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment