* upstream/master:
Simplify a conditional
Remove duplicate alias definitions
Add utility aliases for Cygwin
Replace pythonz with pyenv
Update external syntax-highlighting
Update external history-substring-search
Update external completions
Clarify customization instructions
Move from Carton to Cask
Increase control over multiplexer auto-start
[Fix #459] Correct typos in the dpkg module
[Fix #452] Squash bugs introduced in fcab2a1
[Fix #411] Add Homebrew module
[Fix #434] Correct ambiguity in the use of the term keymap
pull/666/head
commit
f7fc26713f
@ -0,0 +1,26 @@
|
|||||||
|
Homebrew
|
||||||
|
========
|
||||||
|
|
||||||
|
Defines Homebrew aliases.
|
||||||
|
|
||||||
|
Aliases
|
||||||
|
-------
|
||||||
|
|
||||||
|
- `brewc` cleans outdated brews and their cached archives.
|
||||||
|
- `brewC` cleans outdated brews, including keg-only, and their cached archives.
|
||||||
|
- `brewi` installs a formula.
|
||||||
|
- `brewl` lists installed formulae.
|
||||||
|
- `brews` searches for a formula.
|
||||||
|
- `brewU` upgrades Homebrew and outdated brews.
|
||||||
|
- `brewu` upgrades Homebrew.
|
||||||
|
- `brewx` uninstalls a formula.
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
|
||||||
|
*The authors of this module should be contacted via the [issue tracker][1].*
|
||||||
|
|
||||||
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||||
|
|
||||||
|
[1]: https://github.com/sorin-ionescu/prezto/issues
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
#
|
||||||
|
# Defines Homebrew aliases.
|
||||||
|
#
|
||||||
|
# Authors:
|
||||||
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
|
#
|
||||||
|
|
||||||
|
# Return if requirements are not found.
|
||||||
|
if [[ "$OSTYPE" != darwin* ]]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Aliases
|
||||||
|
#
|
||||||
|
|
||||||
|
alias brewc='brew cleanup'
|
||||||
|
alias brewC='brew cleanup --force'
|
||||||
|
alias brewi='brew install'
|
||||||
|
alias brewl='brew list'
|
||||||
|
alias brews='brew search'
|
||||||
|
alias brewu='brew upgrade'
|
||||||
|
alias brewU='brew update && brew upgrade'
|
||||||
|
alias brewx='brew remove'
|
||||||
|
|
Loading…
Reference in new issue