aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilovezfs2017-02-21 04:35:52 -0800
committerilovezfs2017-02-21 04:37:46 -0800
commita81bd81a14b6f1b85f523dc9cdb925ed7cc62b9a (patch)
tree3946eac5a0160a9ca4ca41b689e20bf21391fad6
parentefd4d1554c71082543296e171a50791a295cc364 (diff)
downloadbrew-a81bd81a14b6f1b85f523dc9cdb925ed7cc62b9a.tar.bz2
brew uninstal alias for brew uninstall
If `brew instal` is permissible, `brew uninstal` should be, too.
-rw-r--r--Library/Homebrew/brew.sh1
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli.rb1
-rw-r--r--Library/Homebrew/global.rb1
3 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh
index 81a52f474..11c1a6c59 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 73ab121d2..8e178e373 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 5e88947c9..391f5b012 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",