-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
54 lines (44 loc) · 1.43 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
# Homebrew path
export PATH=$HOME/bin:$HOME/.local/bin:$HOME/usr/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
#ZSH_THEME="sorin"
#ZSH_THEME="avit"
ZSH_THEME="sorin"
DISABLE_AUTO_UPDATE="true"
DISABLE_AUTO_TITLE="true"
ZSH_CUSTOM=$HOME/.zshext
plugins=(gitfast virtualenv adb themes gradle)
source $ZSH/oh-my-zsh.sh
# language and base shell
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# aliases
alias tmux="env TERM=screen-256color tmux -2"
alias lg="lazygit"
function github () {
open `git remote get-url origin | sed -e 's/git@//; s/:/\//; s/\.git$//; s/^/https:\/\//'`
}
# Android setup
export NDK_CCACHE=/usr/local/bin/ccache
export NDK_HOME=$HOME/usr/android/ndk
export ANDROID_HOME=$HOME/usr/android/sdk
export PATH=$NDK_HOME:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
# ccache
export CACHE_BASEDIR=$HOME/
# Node setup
export NODE_PATH="/usr/local/lib/node:/usr/local/lib/node_modules"
export PATH="/usr/local/share/npm/bin:$PATH"
# more paths
export PATH=/usr/local/lib/ruby/gems/2.2.0/bin:$PATH
export MANPATH="/usr/local/man:$MANPATH"
# vim and editor
export EDITOR=vim
#Pyenv setup
# export PATH=/usr/local/opt/python/libexec/bin:$PATH
#eval "$(pyenv init -)"
#eval "$(pyenv virtualenv-init -)"
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home
# fzf setup
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ~/.tokens.sh ] && source ~/.tokens.sh