-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
112 lines (84 loc) · 2.47 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export DOTFILES=$HOME/dotfiles
source $DOTFILES/zgen/zgen.zsh
export CUSTOM_ZSH=$DOTFILES/zsh
# zsh plugins loaded via zgen
if ! zgen saved; then
zgen oh-my-zsh
zgen oh-my-zsh plugins/z
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/debian
zgen load denysdovhan/spaceship-zsh-theme spaceship
source $CUSTOM_ZSH/plugins.zsh
zgen save
fi
source $CUSTOM_ZSH/themes.zsh
# PATH settings
if [[ -d $HOME/.linuxbrew ]]; then
export PATH=$HOME/.linuxbrew/bin:$PATH
fi
if [[ -d /usr/local/sbin ]]; then
export PATH=/usr/local/sbin:$PATH
fi
if [[ -d $HOME/.npm-packages/bin ]]; then
export PATH=$HOME/.npm-packages/bin:$PATH
fi
if [[ -d $HOME/bin ]]; then
export PATH=$HOME/bin:$PATH
fi
if [[ -d $HOME/Library/Python/3.7/lib/python/site-packages ]]; then
export PATH=$HOME/Library/Python/3.7/lib/python/site-packages:$PATH
fi
if [[ -d /usr/local/go ]]; then
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
fi
if [[ -d $HOME/Library/Python/3.7 ]]; then
export PATH=$PATH:/Users/cetus/Library/Python/3.7/bin
fi
if [[ -f $HOME/.env ]]; then
source $HOME/.env
fi
export PATH=$HOME/tizen-studio/tools/ide/bin:$PATH
export PATH=$HOME/tizen-studio/tools:$PATH
export PATH=/opt/webOS_TV_SDK/CLI/bin:$PATH
export EDITOR=vi
bindkey -v
export KEYTIMEOUT=1
# User configuration
# Plugins' options
bindkey '^ ' autosuggest-accept
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE=fg=blue
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
export SSH_KEY_PATH="~/.ssh/rsa_id"
# Aliases
alias reload="source ~/.zshrc"
alias vi=vim
if [[ -x "$(command -v mvim)" ]]; then
alias vi="mvim -v"
fi
if [[ -x "$(command -v nvim)" ]]; then
alias vi="nvim"
fi
alias geth=$HOME/geth/go-ethereum/build/bin/geth
alias zshrc="$EDITOR ~/.zshrc"
alias vimrc="$EDITOR ~/.vimrc"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source /Users/cetus/.yql/shell_completion
eval "$(pyenv init -)"