forked from sontek/homies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_zshrc
75 lines (53 loc) · 2.29 KB
/
_zshrc
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
source /usr/local/Cellar/coreutils/8.14/aliases
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="steeef"
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# export DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(autojump brew cloudapp compleat django extract git github git-flow node npm osx pip python ruby zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=/Users/mak/bin:/usr/local/share/python:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/X11/bin:/opt/local/bin
alias vim="mvim -v"
export EDITOR="mvim -v -f --nomru"
export PROJECTS=$HOME/Projects
# NODE
export NODE_PATH=/usr/local/lib/node_modules
# GRAILS
export GRAILS_HOME=/usr/local/Cellar/grails/1.3.7/libexec
# PYTHON
export PYTHONSTARTUP=$HOME/.pythonrc.py
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH
# export PYTHONDONTWRITEBYTECODE=1
# virtualenv
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$PROJECTS
export PIP_VIRTUALENV_BASE=$WORKON_HOME # Tell pip to create its virtualenvs in $WORKON_HOME.
export PIP_RESPECT_VIRTUALENV=true # Tell pip to automatically use the currently active virtualenv.
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--distribute --no-site-packages'
export VIRTUAL_ENV_DISABLE_PROMPT=1
source virtualenvwrapper.sh
# key bindings
# bindkey '5D' backward-word
# bindkey '5C' forward-word
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets cursor)
if [ -e ~/.last_venv ]; then
workon `cat ~/.last_venv`
fi
#parses .dircolors and makes env var for GNU ls
eval `dircolors`
alias ls='gls -hF --color=auto'