Skip to content

Instantly share code, notes, and snippets.

@Drewzar
Created May 14, 2014 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Drewzar/242ca7e0aafdea4bc0c4 to your computer and use it in GitHub Desktop.
Save Drewzar/242ca7e0aafdea4bc0c4 to your computer and use it in GitHub Desktop.
#!/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