From 1fab3babda57640e2802469b0afce49e4a5cd867 Mon Sep 17 00:00:00 2001 From: JessThrysoee Date: Fri, 13 May 2011 21:09:43 +0200 Subject: Add vi, vimdiff, view, vimex symlinks when overriding system vim. Signed-off-by: Adam Vandenberg --- Library/Formula/macvim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index e1c7653ed..9595f4b9e 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -71,7 +71,7 @@ class Macvim < Formula # Create MacVim vimdiff, view, ex equivalents executables = %w[mvimdiff mview mvimex] - executables << "vim" if ARGV.include? "--override-system-vim" + executables += %w[vi vim vimdiff view vimex] if ARGV.include? "--override-system-vim" executables.each {|f| ln_s bin+'mvim', bin+f} end -- cgit v1.2.3