-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
79 lines (58 loc) · 1.91 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# System info
export PLATFORM=$(uname -s)
export EDITOR=vim
export LANG=en_US.UTF-8
# CLI Colors
export CLICOLOR=1
# Set "ls" colors
export LSCOLORS=Gxfxcxdxbxegedabagacad
export GREP_OPTIONS="--color=auto";
# ZSH config
ZSH_THEME="robbyrussell"
COMPLETION_WAITING_DOTS="true"
plugins=(git python)
source $ZSH/oh-my-zsh.sh
export PATH=$PATH:/opt/local/bin
# Append /usr/local/bin before /usr/bin
export PATH=/usr/local/bin:$PATH
export PATH=$PATH:~/.vim/plugin
# add .local to PATH
export PATH=~/.local/bin:$PATH
# add neovim
export PATH=~/neovim/nvim-osx64/bin:$PATH
# Nim
# export PATH=/Users/akapatkar/dev/Nim/bin:$PATH
export PATH=~/.nimble/bin:$PATH
# export NIM_LIB_PREFIX=~/.choosenim/toolchains/nim-0.17.2/
#MYSQL
export PATH=$PATH:/usr/local/mysql/bin
# Golang
export GOPATH=$HOME/projects/go-play
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:/usr/local/opt/go/libexec/bin
# Z directory jumping util
. $HOME/dotfiles/z.sh
#pyenv path
export PYENV_ROOT=$HOME/.pyenv
export PATH=$PYENV_ROOT/bin:$PATH
#JAVA
export JAVA_HOME=$(/usr/libexec/java_home)
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
export DOTFILES="$(dirname $(readlink $HOME/.zshrc))"
# Load all zsh files
for file in $DOTFILES/*/*.zsh; do
source "$file"
done
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -z "$TMPDIR" ] && TMPDIR=/tmp
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export GIT_EDITOR=vim
export LDFLAGS='-L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib'
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion