diff options
| author | Markus Reiter | 2017-06-01 16:06:51 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2017-06-02 19:22:05 +0200 | 
| commit | 2d6ae61314558b383cfa641e2de0839d5606afca (patch) | |
| tree | 0da240a31c9dc147fc7998bd6fedd578aa022222 /Library/Homebrew/utils.rb | |
| parent | 0731a68cde75206682ed972beb47930afa3c434e (diff) | |
| download | brew-2d6ae61314558b383cfa641e2de0839d5606afca.tar.bz2 | |
Re-revert "Fix operator spacing."
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 4efcb2b4d..cde2ee306 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -175,7 +175,7 @@ module Homebrew    end    def system(cmd, *args) -    puts "#{cmd} #{args*" "}" if ARGV.verbose? +    puts "#{cmd} #{args * " "}" if ARGV.verbose?      _system(cmd, *args)    end @@ -336,6 +336,12 @@ def which_editor      editor = candidate if which(candidate, ENV["HOMEBREW_PATH"])    end +  # Find Textmate +  editor = which("mate", ENV["HOMEBREW_PATH"]) +  # Find BBEdit/TextWrangler +  editor ||= which("edit", ENV["HOMEBREW_PATH"]) +  # Find vim +  editor ||= which("vim", ENV["HOMEBREW_PATH"])    # Default to standard vim    editor ||= "/usr/bin/vim"  | 
