Use alias for brew prefix and speed up terminal launch by ~200ms.
This commit is contained in:
+4
-3
@@ -62,12 +62,13 @@ alias gsd='git svn dcommit'
|
|||||||
alias gsfr='git svn fetch && git svn rebase'
|
alias gsfr='git svn fetch && git svn rebase'
|
||||||
|
|
||||||
# Turn on Git autocomplete.
|
# Turn on Git autocomplete.
|
||||||
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
brew_prefix=`brew --prefix`
|
||||||
. `brew --prefix`/etc/bash_completion
|
if [ -f $brew_prefix/etc/bash_completion ]; then
|
||||||
|
. $brew_prefix/etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use brew-installed PHP binaries.
|
# Use brew-installed PHP binaries.
|
||||||
export PATH="$(brew --prefix homebrew/php/php56)/bin:$PATH"
|
export PATH="$brew_prefix/opt/php56/bin:$PATH"
|
||||||
|
|
||||||
# Vagrant configuration.
|
# Vagrant configuration.
|
||||||
# export VAGRANT_DEFAULT_PROVIDER='virtualbox'
|
# export VAGRANT_DEFAULT_PROVIDER='virtualbox'
|
||||||
|
|||||||
Reference in New Issue
Block a user