diff options
| author | Shaun Jackman | 2017-12-11 15:32:57 -0800 | 
|---|---|---|
| committer | Shaun Jackman | 2017-12-12 09:25:16 -0800 | 
| commit | a4033c7196ad842ed37ef05110fd58fd7aa33856 (patch) | |
| tree | 4eb12672d4b1103b1b49ecb31acb50f40d8af3de /Library/Homebrew/utils.rb | |
| parent | 7b558e05228d3d70182ec3592079e5fe4b2b23ef (diff) | |
| download | brew-a4033c7196ad842ed37ef05110fd58fd7aa33856.tar.bz2 | |
Do not specify absolute paths to utilities
Specifying an absolute path to utilities is no longer needed,
since environment filtering uses a default PATH.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 48ab94c4f..b592b2064 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -344,7 +344,7 @@ def which_editor    editor = %w[atom subl mate edit vim].find do |candidate|      candidate if which(candidate, ENV["HOMEBREW_PATH"])    end -  editor ||= "/usr/bin/vim" +  editor ||= "vim"    opoo <<~EOS      Using #{editor} because no editor was set in the environment. | 
