From 835ebc9b8924d3a0af5a1ebccaef893e5d42ef1e Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong <zhongruoyu@outlook.com> Date: Sat, 7 Dec 2024 10:07:35 +0800 Subject: [PATCH] README: replace invalid examples `brew alias up` doesn't work because `up` is an internal alias for `brew update`. $ brew alias up=update Error: 'up' is a reserved command. Sorry. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9fe117d..6340f10 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ This tap allows you to alias your [Homebrew](https://brew.sh/) commands. This works similar to the `alias` command: # add aliases - $ brew alias up='update' + $ brew alias ug='upgrade' $ brew alias i='install' # print all aliases $ brew alias # print one alias - $ brew alias up + $ brew alias i # use your aliases like any other command $ brew i git @@ -33,8 +33,8 @@ commands as well as `alias` and `unalias`). All aliases are prefixed with `brew`, unless they start with `!` or `%`: - # 'brew up' -> 'brew update' - $ brew alias up=update + # 'brew ug' -> 'brew upgrade' + $ brew alias ug=upgrade # 'brew status' -> 'git status' $ brew alias status='!git status'