Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 72 lines (52 sloc) 1.723 kB
d264cf1 @danivovich Initial attempt at making this work
authored
1 # Where Am I?
2 platform='unknown'
3 unamestr=`uname`
8a926f2 @danivovich update zsh config
authored
4 hoststr=`hostname`
d758d0b @danivovich unicode tmux and a user specific socket
authored
5 me=`whoami`
d264cf1 @danivovich Initial attempt at making this work
authored
6 if [[ "$unamestr" == 'Darwin' ]]; then
7 platform='mac'
8 export ZSH_THEME="robbyrussell" # tell which system I'm on with a different theme
8a926f2 @danivovich update zsh config
authored
9
10 if [[ "$hoststr" == 'rohn.local' ]]; then
11 export ZSH_THEME="arrow" # tell which system I'm on with a different theme
12 fi
13
d264cf1 @danivovich Initial attempt at making this work
authored
14 elif [[ "$unamestr" == 'Linux' ]]; then
15 platform='linux'
16 export ZSH_THEME="cloud" # tell which system I'm on with a different theme
17 fi
18
e9d0653 @danivovich add leader-t stuff for running test and put rvm load into zshenv so t…
authored
19 plugins=(git code_cd)
20
d264cf1 @danivovich Initial attempt at making this work
authored
21 # Path to your oh-my-zsh configuration.
22 export ZSH=$HOME/.oh-my-zsh
23
24 # Set to this to use case-sensitive completion
25 # export CASE_SENSITIVE="true"
26
27 # Comment this out to disable weekly auto-update checks
33603c8 @danivovich updates
authored
28 export DISABLE_AUTO_UPDATE="true"
d264cf1 @danivovich Initial attempt at making this work
authored
29
30 # Uncomment following line if you want to disable colors in ls
31 # export DISABLE_LS_COLORS="true"
32
33 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
34 # Example format: plugins=(rails git textmate ruby lighthouse)
35 source $ZSH/oh-my-zsh.sh
36
37 # Customize to your needs...
38
39 #------------------------------
5768501 @danivovich auto rehash in zsh
authored
40 # Settings
41 #------------------------------
42
43 zstyle ":completion:*:commands" rehash 1
44
45
46 #------------------------------
d264cf1 @danivovich Initial attempt at making this work
authored
47 # Variables
48 #------------------------------
49 if [[ "$unamestr" == 'Darwin' ]]; then
40406d7 @danivovich use macvim -v via vim as the editor on mac
authored
50 export EDITOR="vim"
3bb995e @danivovich use mvim -v as vim on mac
authored
51 alias vim='mvim -v'
d264cf1 @danivovich Initial attempt at making this work
authored
52 elif [[ "$unamestr" == 'Linux' ]]; then
53 export EDITOR="vim"
54 fi
8a926f2 @danivovich update zsh config
authored
55
d264cf1 @danivovich Initial attempt at making this work
authored
56 export PAGER="less"
57
1e7c983 @danivovich add local settings file to zsh
authored
58 #------------------------------
d264cf1 @danivovich Initial attempt at making this work
authored
59 # Aliases
1e7c983 @danivovich add local settings file to zsh
authored
60 #------------------------------
61
d758d0b @danivovich unicode tmux and a user specific socket
authored
62 alias tmux="TERM=screen-256color-bce tmux -u -S /tmp/tmux-sock-$me"
1e7c983 @danivovich add local settings file to zsh
authored
63
64 #------------------------------
65 # Local settings
66 #------------------------------
67
68 if [[ -r "$HOME/.zshrc.local" ]]; then
69 source "$HOME/.zshrc.local"
70 fi
d264cf1 @danivovich Initial attempt at making this work
authored
71
Something went wrong with that request. Please try again.