aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/commands.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb
index 7983f2ee9..30034ec20 100644
--- a/Library/Homebrew/cmd/commands.rb
+++ b/Library/Homebrew/cmd/commands.rb
@@ -39,6 +39,7 @@ module Homebrew
def external_commands
paths.flat_map { |p| Dir["#{p}/brew-*"] }.
map { |f| File.basename(f, ".rb")[5..-1] }.
- reject { |f| f =~ /\./ }
+ reject { |f| f =~ /\./ }.
+ sort
end
end