-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc
More file actions
executable file
·18 lines (14 loc) · 794 Bytes
/
Copy pathbashrc
File metadata and controls
executable file
·18 lines (14 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Install required sortware for this bash profile
which brew >> /dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
which pip >> /dev/null 2>&1 || brew install python
which virtualenv >> /dev/null 2>&1 || pip install virtualenv
which virtualenvwrapper.sh >> /dev/null 2>&1 || pip install virtualenvwrapper
# Aliases
alias wh="/Users/neil/r/virtualenvs/webhopcli/bin/python ~/r/webhop-cli/webhop.py"
alias webhop="/Users/neil/r/virtualenvs/webhopcli/bin/python ~/r/webhop-cli/webhop.py"
alias com='git status; git add -A; echo -en "Commit message: "; read MSG; git commit -m "$MSG"; git push'
# Python Virtualenv setup
export WORKON_HOME=~/virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
# Terminal config
PS1='\w\$ '