From 76199ddd72900cecc0d9b23c10b5606e1cbbc547 Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Wed, 31 Aug 2022 15:26:58 -0400 Subject: [PATCH] utils: prefer BBEdit over TextWrangler --- Library/Homebrew/utils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index c521ad2891..0fb623d7c5 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -364,8 +364,8 @@ module Kernel editor = Homebrew::EnvConfig.editor return editor if editor - # Find Atom, Sublime Text, VS Code, Textmate, BBEdit / TextWrangler, or vim - editor = %w[atom subl code mate edit vim].find do |candidate| + # Find Atom, Sublime Text, VS Code, Textmate, BBEdit, or vim + editor = %w[atom subl code mate bbedit vim].find do |candidate| candidate if which(candidate, ORIGINAL_PATHS) end editor ||= "vim"