2021-05-04 01:59:31 +00:00
|
|
|
# Homebrew
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2018-10-12 08:55:55 +00:00
|
|
|
Defines Homebrew specific environment variables and aliases.
|
2018-09-15 04:40:08 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Variables
|
2018-09-15 04:40:08 +00:00
|
|
|
|
|
|
|
Execute the following to list the environment variables loaded in the shell:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
brew shellenv
|
|
|
|
```
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Aliases
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2023-05-05 03:21:48 +00:00
|
|
|
Aliases are enabled by default. To disable them, add the following to
|
|
|
|
_`${ZDOTDIR:-$HOME}/.zpreztorc`_.
|
|
|
|
|
|
|
|
```sh
|
|
|
|
zstyle ':prezto:module:homebrew:alias' skip 'yes'
|
|
|
|
```
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
### Homebrew Core
|
2014-05-02 19:20:23 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `brewc` cleans outdated brews and their cached archives.
|
|
|
|
- `brewi` installs a formula.
|
|
|
|
- `brewL` lists installed formulae that are not dependencies of another
|
|
|
|
installed formula.
|
|
|
|
- `brewl` lists installed formulae.
|
|
|
|
- `brewo` lists brews which have an update available.
|
|
|
|
- `brews` searches for a formula.
|
|
|
|
- `brewu` upgrades outdated formulae.
|
|
|
|
- `brewx` uninstalls a formula.
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2014-05-02 19:20:23 +00:00
|
|
|
### Homebrew Cask
|
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- `caski` installs a cask.
|
|
|
|
- `caskl` lists installed casks.
|
|
|
|
- `casko` lists casks which have an update available.
|
|
|
|
- `casks` searches for a cask.
|
|
|
|
- `casku` upgrades outdated casks.
|
|
|
|
- `caskx` uninstalls a cask.
|
2014-05-02 19:20:23 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
## Authors
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2021-05-05 17:59:01 +00:00
|
|
|
_The authors of this module should be contacted via the [issue tracker][1]._
|
2013-05-19 20:24:47 +00:00
|
|
|
|
2021-05-04 01:59:31 +00:00
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
- [Griffin Yourick](https://github.com/tough-griff)
|
2013-05-19 20:24:47 +00:00
|
|
|
|
|
|
|
[1]: https://github.com/sorin-ionescu/prezto/issues
|