mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add silently python and npm to /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/usr/lib/qt4/bin on brewed systems
This commit is contained in:
parent
0ab0e67ecf
commit
815f82eda9
2 changed files with 11 additions and 0 deletions
|
|
@ -1 +1,7 @@
|
||||||
|
# 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)"
|
eval "$(npm completion 2>/dev/null)"
|
||||||
|
|
|
||||||
|
|
@ -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
|
# Find python file
|
||||||
alias pyfind='find . -name "*.py"'
|
alias pyfind='find . -name "*.py"'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue