Created
May 14, 2014 20:22
-
-
Save Drewzar/242ca7e0aafdea4bc0c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Automatically generated by Boxen. Don't edit directly. This file | |
# sets up paths and basic environment for the Boxen dev environment, | |
# and is intended to be sourced in your shell profile. | |
set +e | |
set +u | |
# Make the root of Boxen available. | |
export BOXEN_HOME=/opt/boxen | |
# Add homebrew'd stuff to the path. | |
PATH=$BOXEN_HOME/homebrew/bin:$BOXEN_HOME/homebrew/sbin:$PATH | |
# Add homebrew'd stuff to the manpath. | |
export MANPATH=$BOXEN_HOME/homebrew/share/man:$MANPATH | |
# Add any binaries specific to Boxen to the path. | |
PATH=$BOXEN_HOME/bin:$PATH | |
for f in $BOXEN_HOME/env.d/*.sh ; do | |
if [ -f $f ] ; then | |
source $f | |
fi | |
done | |
# Boxen is active. | |
if [ -d "$BOXEN_HOME/repo/.git" ]; then | |
export BOXEN_SETUP_VERSION=`GIT_DIR=$BOXEN_HOME/repo/.git git rev-parse --short HEAD` | |
else | |
echo "Boxen could not load properly!" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment