-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
57 lines (47 loc) · 1.96 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
# Path to your oh-my-zsh conf
export STAQ_TEST_DATABASE_URL=postgres://postgres@localhost/staq_test
export SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem
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.
ZSH_THEME="bira"
# Uncomment following line if you want to disable marking untracked files under
# VCS as dirty. This makes repository status check for large repositories much,
# much faster.
DISABLE_UNTRACKED_FILES_DIRTY="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git bundler rails web-search)
# Set vim as the default editor
export EDITOR='vim'
# Set default postgresql version of the system if one is not set
# via environment variable POSTGRESQL_VERSION
if [[ -z "$POSTGRESQL_VERSION" ]]; then
export POSTGRESQL_VERSION=9.4
fi
# Customize to your needs...
COMMON_PATHS=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SCALA_HOME=/usr/local/share/scala
RVM_HOME=$HOME/.rvm
POSTGRES_HOME=/Applications/Postgres.app/Contents/Versions/$POSTGRESQL_VERSION/bin
PLAY_HOME=/usr/local/share/play
GO_HOME=$HOME/.go
ANDROID_HOME=$HOME/Library/Android/sdk/platform-tools
PATH=$COMMON_PATHS
PATH=$PATH:$POSTGRES_HOME # Add Postgres.app to path
PATH=$PATH:$SCALA_HOME/bin # Add SCALA to PATH
PATH=$PATH:$PLAY_HOME # Add PLAY! to PATH
PATH=$PATH:$RVM_HOME/bin # Add RVM to PATH
PATH=$PATH:$RVM_HOME/gems # Add RVM gems to PATH
PATH=$PATH:$ANDROID_HOME # Add Android tools to PATH
PATH=$PATH:/Applications/Postgres94.app/Contents/MacOS/bin
export PATH
GOPATH=$GO_HOME # Add GO to PATH
export GOPATH
# Alias for commands
[[ -f ~/.aliases ]] && source ~/.aliases
source $ZSH/oh-my-zsh.sh
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting