Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 74 lines (60 sloc) 2.914 kB
3d58e55 @sjl zsh: clean up .zshrc
authored
1 export ZSH="$HOME/lib/oh-my-zsh"
c99b794 @sjl Add a .zshrc file.
authored
2 export ZSH_THEME="prose"
3 export DISABLE_AUTO_UPDATE="true"
5b21ddb @sjl zsh: tweaks
authored
4 export OH_MY_ZSH_DEBUG="true"
4d6da1c @sjl Minor tweaks.
authored
5 plugins=(command-coloring pip fabric lein redis-cli vagrant)
8b55f86 @sjl zsh: start wrapping hd up
authored
6
7 #test -f "$HOME/src/hgd/hd" && export OH_MY_ZSH_HG="$HOME/src/hgd/hd" || export OH_MY_ZSH_HG='hg'
8
c99b794 @sjl Add a .zshrc file.
authored
9 source $ZSH/oh-my-zsh.sh
10
8b55f86 @sjl zsh: start wrapping hd up
authored
11
83518a1 @sjl Get rid of the goddamn %.
authored
12 # Custom options -------------------------------------------------------------
13 unsetopt promptcr
14
55880d0 @sjl Port over the .bashrc stuff to .zshrc
authored
15 # Useful aliases -------------------------------------------------------------
16 alias j='z'
17 alias fab='fab -i ~/.ssh/stevelosh'
0812348 @sjl More changes.
authored
18 alias oldgcc='export CC=/usr/bin/gcc-4.0'
2332fbd @sjl Stuff.
authored
19 alias tm='tmux -u2'
20 alias c='clear'
fd430ee @sjl Lots.
authored
21 alias bp='bpython'
55880d0 @sjl Port over the .bashrc stuff to .zshrc
authored
22
5b29848 @sjl Moar.
authored
23 export DISABLE_AUTO_TITLE="true"
24
55880d0 @sjl Port over the .bashrc stuff to .zshrc
authored
25 # Environment variables ------------------------------------------------------
26 export EDITOR='vim'
082dbff @sjl Add the Ruby gem path.
authored
27 export PATH="$HOME/.gem/ruby/1.8/bin:${PATH}"
16dfbfb @sjl A ton.
authored
28 export PATH="$HOME/bin:${PATH}"
29 export PATH="$HOME/lib/dotfiles/bin:${PATH}"
b66f875 @sjl Various stuff.
authored
30 export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:$PATH"
6cb9df1 @sjl Add hgsubversion.
authored
31 export PATH="/opt/subversion/bin:${PATH}"
f1d2e6c @sjl Lots from the past week or so.
authored
32 export PATH="/usr/local/Cellar/ruby/1.9.2-p290/bin:${PATH}"
e1a76c3 @sjl oh god
authored
33 export PATH="/usr/local/Cellar/ruby/1.9.3-p125/bin:${PATH}"
55880d0 @sjl Port over the .bashrc stuff to .zshrc
authored
34 export GREP_OPTIONS='--color=auto'
35 export HISTSIZE=1000
36 export HISTFILESIZE=1000
37 export HISTCONTROL=erasedups
38 export COMMAND_MODE=unix2003
1deba22 @sjl Always load rubygems with ruby.
authored
39 export RUBYOPT=rubygems
3d58e55 @sjl zsh: clean up .zshrc
authored
40 export CLASSPATH="$CLASSPATH:/usr/local/Cellar/clojure-contrib/1.2.0/clojure-contrib.jar"
55880d0 @sjl Port over the .bashrc stuff to .zshrc
authored
41
6df2a9c @sjl zsh: rearrange .zshrc
authored
42 # Python variables -----------------------------------------------------------
178aa87 @sjl zsh: rearrange .zshrc
authored
43 export PIP_DOWNLOAD_CACHE="$HOME/.pip/cache"
6df2a9c @sjl zsh: rearrange .zshrc
authored
44 export PYTHONSTARTUP="$HOME/.pythonrc.py"
45 export WORKON_HOME="${HOME}/lib/virtualenvs"
d1de385 @sjl Add keymando and more.
authored
46 export PATH="${PATH}:/Developer/usr/bin/"
b6112eb @sjl Clean up PATH.
authored
47 export PATH="${PATH}:/usr/local/share/python/"
3e113ce @sjl Various stuff from the past week or so.
authored
48 export PATH="${PATH}:$HOME/.lein/bin"
e1d3c3a @sjl Dammit, homebrew.
authored
49 export PYTHONPATH="$PYTHONPATH:/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages"
6df2a9c @sjl zsh: rearrange .zshrc
authored
50 export PYTHONPATH="$PYTHONPATH:/usr/local/lib/python2.7.1/site-packages"
51 export PYTHONPATH="$PYTHONPATH:/usr/local/lib/python2.7/site-packages"
52 export PYTHONPATH="$PYTHONPATH:/usr/local/lib/python2.6/site-packages"
3d58e55 @sjl zsh: clean up .zshrc
authored
53 export VEW_PATH="$HOME/lib/python/virtualenvwrapper/virtualenvwrapper.sh"
54 export PYTHONPATH="$HOME/lib/python/see:$PYTHONPATH"
3e113ce @sjl Various stuff from the past week or so.
authored
55 export NODE_PATH="$NODE_PATH:/usr/local/lib/node:/usr/local/lib/node_modules"
6df2a9c @sjl zsh: rearrange .zshrc
authored
56
7db01b4 @sjl Move Mercurial out of gorilla for now.
authored
57 # Mercurial variables --------------------------------------------------------
58 export PATH="$HOME/lib/hg/hg-stable:$PATH"
b22af56 @sjl vim: yep, sure haven't committed in a while'
authored
59 export PYTHONPATH="$HOME/lib/hg/hg-stable:$PYTHONPATH"
7db01b4 @sjl Move Mercurial out of gorilla for now.
authored
60
3d58e55 @sjl zsh: clean up .zshrc
authored
61 # Extra ----------------------------------------------------------------------
a9407fb @sjl Moar.
authored
62 source `brew --prefix`/etc/profile.d/z.sh
5c32961 @sjl Add a precmd function.
authored
63
64 # Pre-Prompt Command ---------------------------------------------------------
65 function precmd () {
66 z --add "$(pwd -P)"
67 }
4351cce @sjl A bunch of stuff.
authored
68
dc81e1d @sjl zsh: add an optional zshrc_local hook
authored
69 # Local Settings -------------------------------------------------------------
70 if [[ -s $HOME/.zshrc_local ]] ; then source $HOME/.zshrc_local ; fi
ba122b0 @sjl Moar.
authored
71
72 # Emacs... -------------------------------------------------------------------
73 alias e='emacsclient -nc .'
Something went wrong with that request. Please try again.