Add brew alias

This commit is contained in:
Henrik Lissner 2013-10-01 18:02:32 -04:00
parent 1268bfdf3f
commit 8e61683974

View file

@ -52,20 +52,10 @@ alias header='curl -I'
alias dot='cd ~/.dotfiles' alias dot='cd ~/.dotfiles'
if is_linux; then if is_linux; then
# Safety nets
alias mv='mv -i'
alias cp='cp -i'
alias ln='ln -i'
# do not delete / or prompt if deleting more than 3 files at a time #
alias rm='rm -I --preserve-root'
alias chown='chown --preserve-root'
alias chmod='chmod --preserve-root'
alias chgrp='chgrp --preserve-root'
# iptables # iptables
alias ipt='sudo iptables' alias ipt='sudo iptables'
elif is_mac; then elif is_mac; then
alias b='brew'
alias brewp='cd `brew --prefix`' alias brewp='cd `brew --prefix`'
fi fi