Permalink
Browse files

Some Homebrew improvements.

  • Loading branch information...
SaberUK committed Apr 19, 2012
1 parent 2af019c commit a71a9c19812cada3d7b4a0e78500c6bb79b6ba4c
Showing with 9 additions and 6 deletions.
  1. +9 −6 zsh/variables.zsh
View
@@ -10,22 +10,25 @@ unset HISTFILE
# Misc
export BROWSER='/usr/bin/open'
export EDITOR='/usr/bin/nano'
-export HOMEBREW='/brew'
export MANPAGER='/bin/cat'
export PS1='%n@%m:%~$ '
+export TRASH='~/.Trash'
# Scripts
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
# Homebrew
-if [ -d "$HOMEBREW/bin" ]; then
- export PATH="$HOMEBREW/bin:$PATH"
+export HOMEBREW_BUILD_FROM_SOURCE='1'
+export HOMEBREW_MAKE_JOBS='2'
+export HOMEBREW_ROOT='/brew'
+if [ -d "$HOMEBREW_ROOT/bin" ]; then
+ export PATH="$HOMEBREW_ROOT/bin:$PATH"
fi
# RubyGems
-if [ -f "$HOMEBREW/bin/gem" ]; then
- export GEM_HOME=$HOMEBREW
- export GEM_PATH=$HOMEBREW
+if [ -f "$HOMEBREW_ROOT/bin/gem" ]; then
+ export GEM_HOME=$HOMEBREW_ROOT
+ export GEM_PATH=$HOMEBREW_ROOT
fi

0 comments on commit a71a9c1

Please sign in to comment.