This commit is contained in:
M4D 2016-05-12 03:56:31 +00:00
commit 8ddc6537a6
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
# NodeJS installed by Homebrew
if [[ -x `which brew` && -d `brew --prefix`/lib/node ]] ; then
export NODE_PATH="$(brew --prefix)/share/npm/lib/node_modules"
export PATH="$(brew --prefix)/share/npm/bin:$PATH"
fi
eval "$(npm completion 2>/dev/null)"
# Install dependencies globally

View file

@ -1,3 +1,8 @@
# Installed via Homebrew
if [[ -x `which brew` && -d `brew --prefix`/share/python ]] ; then
export PATH="$(brew --prefix)/share/python:$PATH"
fi
# Find python file
alias pyfind='find . -name "*.py"'