aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/edit.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-06-08 12:46:56 +0300
committerGitHub2017-06-08 12:46:56 +0300
commitfd4aaf030f7e6c356239af55e0a1b72c3f290706 (patch)
tree8803086ece7359977d2e1c5b04c54c807839acdc /Library/Homebrew/dev-cmd/edit.rb
parent8b29a07cfafd6139c325bd8449a9d10ebcb89ca5 (diff)
parent486d3d84b1b6f39309810a6ea55d1f72a5c8155b (diff)
downloadbrew-fd4aaf030f7e6c356239af55e0a1b72c3f290706.tar.bz2
Merge pull request #2749 from MikeMcQuaid/edit-default-editors
edit: tweak default editors.
Diffstat (limited to 'Library/Homebrew/dev-cmd/edit.rb')
-rw-r--r--Library/Homebrew/dev-cmd/edit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/edit.rb b/Library/Homebrew/dev-cmd/edit.rb
index b3a319088..b1e485fe2 100644
--- a/Library/Homebrew/dev-cmd/edit.rb
+++ b/Library/Homebrew/dev-cmd/edit.rb
@@ -21,8 +21,8 @@ module Homebrew
# If no brews are listed, open the project root in an editor.
if ARGV.named.empty?
editor = File.basename which_editor
- if ["mate", "subl"].include?(editor)
- # If the user is using TextMate or Sublime Text,
+ if ["atom", "subl", "mate"].include?(editor)
+ # If the user is using Atom, Sublime Text or TextMate
# give a nice project view instead.
exec_editor HOMEBREW_REPOSITORY/"bin/brew",
HOMEBREW_REPOSITORY/"README.md",