tumble/bin/activate

13 lines
264 B
Bash

#!/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
PS1="(`basename \"$PROJECT_ROOT\"`)$PS1"
export PS1