From 7382448faaf2307f94ee7a38c1ae64771558c05f Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 15 Jan 2016 14:19:34 -0200 Subject: [PATCH 1/2] Added antibody instructions --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f5a930e..1ff5a48 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,12 @@ $ open-pr develop # will browse https://github.com/caarlos0/zsh-open-pr/compare/develop...random-user:random-feature ``` +## Install using [antibody](http://getantibody.github.io/) + +```sh +$ antibody bundle caarlos0/zsh-open-pr +``` + ## Install using antigen ```sh From 5209fc07b0805b4905f145d8c38fee0d874f6e89 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 15 Jan 2016 14:22:52 -0200 Subject: [PATCH 2/2] Update README.md --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ff5a48..4fcbe96 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,9 @@ $ antigen bundle caarlos0/zsh-open-pr Add `zgen load caarlos0/zsh-open-pr` to your `.zshrc` where you're loading your other plugins. -And hit `open-pr` on your repositories. +## Usage + +Just hit `open-pr` on your repositories. You can also alias it: @@ -117,7 +119,7 @@ $ git config --global alias.pr '!zsh -ic open-pr' $ git pr ``` -I like more the following approach: +But I like the following approach more: ```sh gpr() { @@ -128,7 +130,7 @@ gpr() { So I can `git push` and `open-pr` in a single, three letters command: ```sh -gpr +$ gpr ``` ## Contributing