#!/usr/bin/env bash # Set architecture flags export ARCHFLAGS="-arch x86_64" # Prefer US English and use UTF-8 export LC_ALL="en_US.UTF-8" export LANG="en_US" # --------------------------------------------------- # PATH # --------------------------------------------------- export NPM_PACKAGES="$HOME/.npm-packages" export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}" export PATH=$HOME/bin:/usr/local/bin:$NPM_PACKAGES/bin:$PATH # define CDPATHs which are autocompleted from when doing cd export CDPATH=$CDPATH:~/code # Unset manpath so we can inherit from /etc/manpath via the `manpath` # command unset MANPATH # delete if you already modified MANPATH elsewhere in your config export MANPATH="$NPM_PACKAGES/share/man:$(manpath)" # pip should only run if there is a virtualenv currently activated #export PIP_REQUIRE_VIRTUALENV=true # cache pip-installed packages to avoid re-downloading export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache