Check for ~/.vim
This commit is contained in:
parent
961112615b
commit
3e44526021
|
@ -11,9 +11,11 @@ namespace :vim do
|
||||||
%w{lua luajit}.each { |pkg| Homebrew.install pkg }
|
%w{lua luajit}.each { |pkg| Homebrew.install pkg }
|
||||||
%w{vim macvim}.each { |pkg| Homebrew.install(pkg, '--with-lua --with-luajit') }
|
%w{vim macvim}.each { |pkg| Homebrew.install(pkg, '--with-lua --with-luajit') }
|
||||||
|
|
||||||
|
unless Dir.exists? (File.expand_path("~/.vim"))
|
||||||
github('hlissner/vim', '~/.vim')
|
github('hlissner/vim', '~/.vim')
|
||||||
github('Shougo/neobundle.vim', '~/.vim/bundle/neobundle.vim')
|
github('Shougo/neobundle.vim', '~/.vim/bundle/neobundle.vim')
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
task :update => 'vim:install' do
|
task :update => 'vim:install' do
|
||||||
path = File.expand_path("~/.vim")
|
path = File.expand_path("~/.vim")
|
||||||
|
|
Loading…
Reference in a new issue