28 lines
885 B
Bash
28 lines
885 B
Bash
#!/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 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 |