-
Notifications
You must be signed in to change notification settings - Fork 0
/
_env.sh
41 lines (28 loc) · 1.13 KB
/
_env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/zsh
export PATH=~/.composer/vendor/bin:/usr/local/sbin:/usr/local/bin:$PATH
# For virtualenvwrapper
export WORKON_HOME=~/.virtualenvs
. /usr/local/bin/virtualenvwrapper.sh
# Python 2.7
alias mkv='mkvirtualenv --no-site-packages --python=/usr/local/Cellar/python/2.7.6/bin/python'
# Python 3
alias mkv3='mkvirtualenv --no-site-packages --python=/usr/local/Cellar/python3/3.4.2/bin/python3'
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
# PostgreSQL
alias pgstart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias pgstop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
# PyCharm
export IDEA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home"
# MongoDB
alias mongostart='sudo mongod --config /usr/local/etc/mongod.conf --auth'
# Java
export JAVA_HOME=$(/usr/libexec/java_home)
# Elasticsearch
alias elas_start='elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml'
# Style 1
# export LSCOLORS="gxfxcxdxbxegedabagacad"
# Style 2
export LSCOLORS="exfxcxdxbxexexabagacad"
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"