-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_zshrc
49 lines (40 loc) · 1.21 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
# Path to your oh-my-zsh installation.
export ZSH=/Users/schartand/.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="robbyrussell"
ENABLE_CORRECTION="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)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
adb
brew
git
gradle
mvn
osx
zsh-syntax-highlighting
)
# User configuration
source $ZSH/oh-my-zsh.sh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
setopt sharehistory
setopt nohup
setopt completeinword
setopt appendhistory
setopt autocd
bindkey "jj" vi-cmd-mode
export EDITOR=vim
ANDROID_HOME=~/workspace/sdk
GRADLE_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=512m"
PATH=$PATH:"$ANDROID_HOME/tools"
PATH=$PATH:"$ANDROID_HOME/platform-tools"
export JAVA_HOME ANDROID_HOME GRADLE_OPTS PATH
launchctl setenv ANDROID_HOME "$ANDROID_HOME"
launchctl setenv GRADLE_OPTS "$GRADLE_OPTS"
alias gs='git status'
alias b='cd ..'