Skip to content

Instantly share code, notes, and snippets.

@adtaylor
Created August 5, 2012 13:06
Show Gist options
  • Save adtaylor/3264663 to your computer and use it in GitHub Desktop.
Save adtaylor/3264663 to your computer and use it in GitHub Desktop.
Adding yadr-customisations using dropbox or google drive
#!/bin/bash
#
# Usage: curl -L https://raw.github.com/gist/3264663/570727e122e8ebec1f6b6cc98fd2ee07d75bf7f9/gistfile1.sh | sh
#
# [email protected]
function link_zsh {
ln -s ~/Google\ Drive/yadr-customisations/zsh ~/.yadr/custom/zsh
}
function rm_vim {
echo "Removing ~/.vimrc.before"
rm ~/.vimrc.before
echo "Removing ~/.vimrc.after"
rm ~/.vimrc.after
}
function link_vim {
echo "Linking vimrc.{after|before}"
ln -s ~/Google\ Drive/yadr-customisations/vim/vimrc.before ~/.vimrc.before
ln -s ~/Google\ Drive/yadr-customisations/vim/vimrc.after ~/.vimrc.after
}
function add_vim_plugins {
echo "Adding VIM custom plugins"
# yav -u https://github.com/airblade/vim-rooter
}
rm_vim
link_vim
link_zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment