Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4f0942e42d
Fetching contributors…

Cannot retrieve contributors at this time

file 49 lines (37 sloc) 1.344 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
# == [ .profile ] ================================================

# if we're using bash, we're on a server
export LOCATION='server'

# Set normal file creation permissions
umask 002

if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi

    if [ -f "$HOME/.bash_aliases" ]; then
        . "$HOME/.bash_aliases"
    fi
fi

# Trapeze stuff
    # File for environment-specific commands
    if [ -f "$HOME/.locals" ]; then
        . "$HOME/.locals"
    fi

    # set PATH so it includes bin folder under hosting
    if [ -d "$HOME/hosting/bin" ] ; then
        export PATH="$HOME/hosting/bin:$PATH"
    fi
    export SSHPROXY_USER="tball"

    # Include private bin
    [[ -d $HOME/bin ]] && export PATH="$HOME/bin:$PATH"

    # Source virtualenvwrapper on Linux
    [[ -f /usr/local/bin/virtualenvwrapper.sh ]] && source /usr/local/bin/virtualenvwrapper.sh

    export PYTHONPATH=.:..:../lib:../contrib

# node.js
# -------

    # OS X via Homebrew
    [[ -d "/usr/local/lib/node" ]] && export NODE_PATH="/usr/local/lib/node"

    # Both systems
    export PATH="$HOME/.npm:$PATH"
    [[ -d "$HOME/local/node" ]] && export PATH="$HOME/local/node/bin:$PATH"
    [[ -d "$HOME/local/node" ]] && export NODE_PATH="$HOME/local/node:$HOME/local/node/lib/node_modules"
Something went wrong with that request. Please try again.