utils: prefer BBEdit over TextWrangler
This commit is contained in:
parent
0cf999eee9
commit
76199ddd72
@ -364,8 +364,8 @@ module Kernel
|
|||||||
editor = Homebrew::EnvConfig.editor
|
editor = Homebrew::EnvConfig.editor
|
||||||
return editor if editor
|
return editor if editor
|
||||||
|
|
||||||
# Find Atom, Sublime Text, VS Code, Textmate, BBEdit / TextWrangler, or vim
|
# Find Atom, Sublime Text, VS Code, Textmate, BBEdit, or vim
|
||||||
editor = %w[atom subl code mate edit vim].find do |candidate|
|
editor = %w[atom subl code mate bbedit vim].find do |candidate|
|
||||||
candidate if which(candidate, ORIGINAL_PATHS)
|
candidate if which(candidate, ORIGINAL_PATHS)
|
||||||
end
|
end
|
||||||
editor ||= "vim"
|
editor ||= "vim"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user