Skip to content

Commit

Permalink
Remove changelog and move notes above.
Browse files Browse the repository at this point in the history
  • Loading branch information
aubreypwd committed Apr 7, 2023
1 parent 6d6c3d1 commit a73eab6
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ require "git" "brew install git" "brew"

Will only run `brew install git` if the command `git` is missing and `brew` is available to install it.

- Add `export REQUIRE_AUTO_INSTALL="off"` to `~/.zshrc` to turn off auto installation of `require`.

## Install

Using [antigen](https://github.com/zsh-users/antigen):
Expand All @@ -32,30 +34,4 @@ Install the package on `master`:
antigen bundle ssh://git@github.com/aubreypwd/zsh-plugin-require
```

...and contribute upstream by working in `$HOME/.antigen/bundles/aubreypwd/zsh-plugin-require`.

---

## Changelog

Changelogs beyond these versions were moved to Github releases.

### 1.0.2

- Add `export REQUIRE_AUTO_INSTALL="off"` to `~/.zshrc` to turn off auto installation of requires

### 1.0.1

- Added a 3rd option to specify a package manager's command be required, e.g.

```bash
require "foo" "brew reinstall bar" "brew"
```

This will run `brew reinstall bar` if the `foo` command is not found, only if the `brew` command is found (e.g. the `brew` homebrew package manager command), vs:

```bash
require "foo" "/bin/bash -c $(curl -fsSL https://example.com/install.sh)"
```

Which will run `/bin/bash -c $(curl -fsSL https://example.com/install.sh)` reguardless if any command without performing any checks (as it did before, and you can still do).
...and contribute upstream by working in `$HOME/.antigen/bundles/aubreypwd/zsh-plugin-require`.

0 comments on commit a73eab6

Please sign in to comment.