-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
26 lines (19 loc) · 786 Bytes
/
Copy pathbash_profile
File metadata and controls
26 lines (19 loc) · 786 Bytes
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
alias ls='ls -G'
alias ll='ls -l'
export PATH=/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'
# 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)