mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Merge 815f82eda9 into 0ebe35968c
This commit is contained in:
commit
8ddc6537a6
2 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue