-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc.local
42 lines (33 loc) · 1.21 KB
/
zshrc.local
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
# Turn on 256 color support for xterm-based terminals
#if [ "x$TERM" = "xxterm" ]
#then
# export TERM="xterm-256color"
#fi
# Add asdf version manager
## append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
## initialise completions with ZSH's compinit
autoload -Uz compinit && compinit
# Add JAVA_HOME path for Visual-Studio-Code
#source ~/.asdf/plugins/java/asdf-java-wrapper.zsh
export JAVA_HOME=$(\asdf where java ${match[1]})
# Add Android-STUDIO PATH
export PATH=${PATH}:$HOME/.android-studio/bin
# Add Android-SDK PATH
if [ "$(uname)" == "Darwin" ]; then
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
export ANDROID_SDK_ROOT=$HOME/.android-sdk
fi
export PATH=${PATH}:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/tools/bin:$ANDROID_SDK_ROOT/platform-tools
# Add Google Cloud SDK PATH and autocompletion
if [ -d '~/.google-cloud-sdk' ]; then
source '~/.google-cloud-sdk/path.zsh.inc';
source '~/.google-cloud-sdk/completion.zsh.inc';
fi
# Add Rubymine PATH
export PATH="/opt/RubyMine-2017.3/bin:$PATH"
# Change direct to coding projects
export CDPATH=~/Development
# Add Teamocil autocompletion
compctl -g '~/.teamocil/*(:t:r)' teamocil