-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
46 lines (33 loc) · 1.2 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
# path to oh-my-zsh installation
export ZSH=~/.oh-my-zsh
# set name of the theme to load
ZSH_THEME="powerlevel9k/powerlevel9k"
# Power Level 9K settings
# https://github.com/bhilburn/powerlevel9k#available-prompt-segments
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status vcs virtualenv)
# command auto-correction
ENABLE_CORRECTION="true"
# plugins
# https://github.com/robbyrussell/oh-my-zsh/wiki/plugins
plugins=(brew git jsontools pip python sudo virtualenv)
# user path
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
# setup zshell
source $ZSH/oh-my-zsh.sh
# zsh rec files alises
alias zrc='vim ~/.zshrc'
alias zrcl='vim ~/.zshrc.local'
# vim rec file aliases
alias vrc='vim ~/.vimrc'
alias vrcl='vim ~/.vimrc.local'
alias vrcb='vim ~/.vimrc.bundles'
alias vrcbl='vim ~/.vimrc.bundles.local'
# get aliases and stuff from local
source ~/.zshrc.local
# export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
# android sdk
export ANDROID_HOME=/Users/nick/Library/Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
unsetopt correct_all