From a81bd81a14b6f1b85f523dc9cdb925ed7cc62b9a Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Tue, 21 Feb 2017 04:35:52 -0800 Subject: [PATCH] brew uninstal alias for brew uninstall If `brew instal` is permissible, `brew uninstal` should be, too. --- Library/Homebrew/brew.sh | 1 + Library/Homebrew/cask/lib/hbc/cli.rb | 1 + Library/Homebrew/global.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 81a52f4744..11c1a6c594 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -207,6 +207,7 @@ case "$HOMEBREW_COMMAND" in up) HOMEBREW_COMMAND="update" ;; ln) HOMEBREW_COMMAND="link" ;; instal) HOMEBREW_COMMAND="install" ;; # gem does the same + uninstal) HOMEBREW_COMMAND="uninstall" ;; rm) HOMEBREW_COMMAND="uninstall" ;; remove) HOMEBREW_COMMAND="uninstall" ;; configure) HOMEBREW_COMMAND="diy" ;; diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 73ab121d2d..8e178e3737 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -37,6 +37,7 @@ module Hbc "-S" => "search", # verb starting with "-" is questionable "up" => "update", "instal" => "install", # gem does the same + "uninstal" => "uninstall", "rm" => "uninstall", "remove" => "uninstall", "abv" => "info", diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 5e88947c93..391f5b0121 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -69,6 +69,7 @@ HOMEBREW_INTERNAL_COMMAND_ALIASES = { "up" => "update", "ln" => "link", "instal" => "install", # gem does the same + "uninstal" => "uninstall", "rm" => "uninstall", "remove" => "uninstall", "configure" => "diy",