-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
54 lines (43 loc) · 1.11 KB
/
.zshrc
File metadata and controls
54 lines (43 loc) · 1.11 KB
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
#!/usr/bin/zsh
# File: ~/.zshrc
# Author: jess johnson <jess@grokcode.com>
export SHELL='zsh'
# Prompt.
PS1='
%B%F{green}%n@%m% %F{yellow} %~
%b%F{white}$ '
# Emacs FTW.
export EDITOR=emacs
export CVSEDITOR=emacs
# Path.
export PATH=\
/opt/vagrant/bin:\
/home/smudge/bin/WorldOfGoo:\
$HOME/.rvm/bin:\
$PATH:\
# Aliases.
alias mkdir='mkdir -p'
alias emacs='emacs -bg ghostwhite -fg black -cr lightsteelblue 2> /dev/null'
alias dos2unix=fromdos
alias unix2dos=todos
# More extensive tab completion.
autoload -U compinit
compinit
# Tab completion should be case-insensitive.
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
# Better completion for killall.
zstyle ':completion:*:killall:*' command 'ps -u $USER -o cmd'
# One history for all open shells; store 10,000 entires.
HISTFILE=~/.zhistory
HISTSIZE=SAVEHIST=10000
setopt incappendhistory
setopt sharehistory
setopt extendedhistory
# Superglobs.
setopt extendedglob
unsetopt caseglob
# Virtualenv wrapper
export VIRTUALENVWRAPPER_PYTHON=`which python`
export WORKON_HOME=$HOME/.virtualenv
export PROJECT_HOME=$HOME/work
source /usr/local/bin/virtualenvwrapper.sh