parent
1622abb830
commit
ba614a9ffb
@ -0,0 +1,23 @@
|
|||||||
|
Brew
|
||||||
|
====
|
||||||
|
|
||||||
|
Defines Brew aliases and adds Brew directories to path variables.
|
||||||
|
|
||||||
|
Aliases
|
||||||
|
-------
|
||||||
|
|
||||||
|
- `brewc` cleans the files used to build brews.
|
||||||
|
- `brewi` installs a brew.
|
||||||
|
- `brews` searches for a brew.
|
||||||
|
- `brewu` upgrades a brew.
|
||||||
|
- `brewU` upgrades Brew, the brews collection, and outdated brews.
|
||||||
|
- `brewx` uninstalls a brew.
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
|
||||||
|
*The authors of this module should be contacted via the [issue tracker][1].*
|
||||||
|
|
||||||
|
- [Lance Speelmon](https://github.com/lancespeelmon)
|
||||||
|
|
||||||
|
[1]: https://github.com/sorin-ionescu/prezto/issues
|
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Defines Brew aliases and adds Brew directories to path variables.
|
||||||
|
#
|
||||||
|
# Authors:
|
||||||
|
# Lance Speelmon <lance@speelmon.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
# Return if requirements are not found.
|
||||||
|
if [[ "$OSTYPE" != darwin* ]]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Aliases
|
||||||
|
#
|
||||||
|
|
||||||
|
alias brewc='brew cleanup'
|
||||||
|
alias brewi='brew install'
|
||||||
|
alias brews='brew search'
|
||||||
|
alias brewU='brew update && brew upgrade'
|
||||||
|
alias brewu='brew upgrade'
|
||||||
|
alias brewx='brew remove'
|
Loading…
Reference in new issue