1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-10-14 15:49:09 +00:00

[Fix #411] Add Homebrew module

This commit is contained in:
Sorin Ionescu
2013-05-19 16:24:47 -04:00
parent 875ce2e56c
commit 9d504d2d93
3 changed files with 56 additions and 0 deletions

25
modules/homebrew/init.zsh Normal file
View File

@@ -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'