#!/bin/bash # /bin comes before /node_modules/.bin because sometimes I want to # override the behaviors provided. PROJECT_ROOT=`pwd` PATH="$PROJECT_ROOT/bin:$PROJECT_ROOT/node_modules/.bin:$PATH" export PATH if [ -z "$VIRTUAL_ENV_DISABLE_PROMPT" ] ; then _OLD_VIRTUAL_PS1="$PS1" if [ "x" != x ] ; then PS1="$PS1" else PS1="(`basename \"$PROJECT_ROOT\"`)$PS1" fi export PS1 fi