Adding 'yadr' command for managing plugins (wip)
This commit is contained in:
13
bin/yadr/yadr-vim-update-plugins
Executable file
13
bin/yadr/yadr-vim-update-plugins
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env ruby
|
||||
require File.join(File.dirname(__FILE__), 'default_libs')
|
||||
|
||||
GitStyleBinary.command do
|
||||
version "yadr-vim-update-plugins 1.0"
|
||||
|
||||
short_desc "Update all vim plugins to latest versions from github"
|
||||
|
||||
run do |command|
|
||||
system("cd ~/.dotfiles && git submodule foreach git pull origin master")
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user