Skip to content

Commit

Permalink
Merge pull request #5 from caarlos0/antibody
Browse files Browse the repository at this point in the history
Added antibody instructions
  • Loading branch information
caarlos0 committed Jan 15, 2016
2 parents 4eb6438 + 5209fc0 commit f7dc3e5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -102,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:

Expand All @@ -111,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() {
Expand All @@ -122,7 +130,7 @@ gpr() {
So I can `git push` and `open-pr` in a single, three letters command:

```sh
gpr
$ gpr
```

## Contributing
Expand Down

0 comments on commit f7dc3e5

Please sign in to comment.