commit 63aedfe7985f0edc21431468f9b207becaefd8df parent 242e39bb0f3dff2d35bda9ebcf721e8600dbfbb9 Author: Xiaodong Xu <[email protected]> Date: Mon Jul 2 21:21:37 +0800 Fix version compatibility error Diffstat:
_vim/bundle/slime | | | 2 | +- |
_vimrc | | | 2 | +- |
vimenv | | | 10 | +++++----- |
diff --git a/_vim/bundle/slime b/_vim/bundle/slime @@ -1 +1 @@ -Subproject commit 3ecc0a6d7d3f0e4ea9ca07c3d877694e30f906e7 +Subproject commit 8bfe5436a484cc47e302c4c9dd9889b450a2e203 diff --git a/_vimrc b/_vimrc @@ -40,7 +40,7 @@ if &t_Co < 256 colorscheme miro8 else "set background=dark - colorscheme neverland-darker + colorscheme Tomorrow-Night endif "-- file --" diff --git a/vimenv b/vimenv @@ -4,7 +4,7 @@ # author : Xu Xiaodong <[email protected]> # license : GPL # created : 2012 Apr 14 -# modified : 2012 Jun 22 +# modified : 2012 Jul 02 # require 'fileutils' @@ -14,7 +14,7 @@ def init conf = %w[vimrc vim] conf.each do |item| orig = "#{Dir.pwd}/_#{item}" - target = "#{Dir.home}/.#{item}" + target = "#{ENV['HOME']}/.#{item}" # oops... 1.8.5 does not support Dir.home bak = "#{target}.old" if File.exist?(target) && ! File.symlink?(target) @@ -27,7 +27,7 @@ def init end puts "Symlinking #{orig} to #{target}" - FileUtils.symlink(orig, target, force: true) + FileUtils.symlink(orig, target) end end @@ -76,10 +76,10 @@ def list bundle = Dir.entries('_vim/bundle') plugins = bundle[2, bundle.size].sort - plugins.each { |name| puts "Installed #{name}" } + plugins.each { |name| puts " * Installed #{name} ..." } total = plugins.size - puts "Total #{total} plugins" + puts ">>> Total #{total} plugins" end opts = OptionParser.new