-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
79 lines (62 loc) · 1.96 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
if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
source /usr/share/zsh/share/antigen.zsh
elif [[ "$OSTYPE" == "darwin"* ]]; then # Mac OSX
source /usr/local/share/antigen/antigen.zsh
fi
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle kube-ps1
antigen bundle kubectl
antigen bundle helm
antigen bundle kops
antigen bundle golang
antigen bundle docker
antigen bundle aws
antigen bundle terraform
antigen bundle pip
antigen bundle lein
antigen bundle rust
antigen bundle cargo
antigen bundle node
antigen bundle osx
antigen bundle vault
antigen bundle command-not-found
# Zsh 256
antigen bundle chrissicool/zsh-256color
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# vim mode
antigen bundle softmoth/zsh-vim-mode
# autosuggestions
antigen bundle zsh-users/zsh-autosuggestions
# Translate plug.
antigen bundle soimort/translate-shell
# Load the theme.
antigen theme dracula/zsh dracula
# Tell antigen that you're done.
antigen apply
# User configuration
export PROMPT=$PROMPT"\$(kube_ps1) "
export VISUAL="vim"
# [[ "$TERM" == "xterm" ]] && export TERM=xterm-256color
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# export PATH=$PATH:$HOME/.cabal/bin
# export PATH=$PATH:$HOME/.cargo/bin
export GOPATH=$HOME/.go
export PATH=$PATH:$GOPATH/bin
# export PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
export PATH="$(yarn global bin):$PATH"
# export PATH="$PATH:/opt/flutter/bin"
# export PATH="$PATH:$HOME/emsdk-portable"
# export PATH="$PATH:$HOME/emsdk-portable/clang/fastcomp/build_incoming_64/bin"
# export PATH="$PATH:$HOME/emsdk-portable/emscripten/incoming"
export PATH=$PATH:$HOME/.local/bin
# export CHROME_BIN=google-chrome-unstable
# alias preview="fzf --preview 'bat --color \"always\" {}'"
# export FZF_DEFAULT_OPTS="--bind='ctrl-o:execute(code {})+abort'"
#alias cat='bat'
#alias ping='prettyping --nolegend'
#alias top="htop"
alias k=kubectl