diff options
| author | Mike McQuaid | 2016-02-15 11:31:10 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2016-02-15 11:35:25 +0000 |
| commit | f6cbf7bab0a4d743ca4122c39d60ea669b5f7e14 (patch) | |
| tree | f31226e51dc394004c41ab8797f4ede8ed461546 /Library/Homebrew | |
| parent | 775c4eedd7f6342ccfe7fe802a5935cb78ab050d (diff) | |
| download | brew-f6cbf7bab0a4d743ca4122c39d60ea669b5f7e14.tar.bz2 | |
Move internal command aliases from Ruby to Bash.
This means that internal command aliases can be used for Bash commands
(such as the new, Bash-based `brew update`).
Fixes Homebrew/homebrew#49182.
Closes Homebrew/homebrew#49184.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/global.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index d173e7df2..00028acad 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -48,6 +48,7 @@ require "compat" unless ARGV.include?("--no-compat") || ENV["HOMEBREW_NO_COMPAT" ORIGINAL_PATHS = ENV["PATH"].split(File::PATH_SEPARATOR).map { |p| Pathname.new(p).expand_path rescue nil }.compact.freeze +# TODO: remove this as soon as it's removed from commands.rb. HOMEBREW_INTERNAL_COMMAND_ALIASES = { "ls" => "list", "homepage" => "home", |
