From 883b201c0906ad2942ec900290568836b5ddc240 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 4 Jul 2016 16:09:24 +0100 Subject: [PATCH] utils: output what files `edit` is opening. (#444) Since we've moved all formulae to taps it's not necessarily obvious what the path for the files are otherwise. --- Library/Homebrew/utils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index ef7776bcad1e6..d82093e4bd99d 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -431,6 +431,7 @@ def which_editor end def exec_editor(*args) + puts "Editing #{args.join "\n"}" safe_exec(which_editor, *args) end