Skip to content

Instantly share code, notes, and snippets.

@chris-roerig
Last active October 18, 2018 16:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-roerig/91a2ae820917c4d6e4a5f169be0b3077 to your computer and use it in GitHub Desktop.
Save chris-roerig/91a2ae820917c4d6e4a5f169be0b3077 to your computer and use it in GitHub Desktop.
Automate vimrc and VundleInstall with Chef
remote_file "/home/chris/.vimrc" do
source "https://raw.githubusercontent.com/chris-roerig/dotfiles/master/vimrc"
owner "chris"
group "chris"
mode "0755"
end
directory "/home/chris/.vim/bundle/" do
owner "chris"
group "chris"
mode "0755"
recursive true
end
git "/home/chris/.vim/bundle/Vundle.vim" do
repository "https://github.com/VundleVim/Vundle.vim.git"
end
execute "VundleInstall" do
command "vim -c 'VundleInstall' -c 'q' -c 'q'"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment