-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshrc
43 lines (32 loc) · 1.1 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
[ -f "$HOME/.local/share/zap/zap.zsh" ] && source "$HOME/.local/share/zap/zap.zsh"
# source
plug "$HOME/.config/zsh/aliases.zsh"
plug "$HOME/.config/zsh/exports.zsh"
plug "$HOME/.config/zsh/nvm.zsh"
plug "$HOME/.config/zsh/fzf.zsh"
# plugins
plug "zap-zsh/supercharge"
plug "zsh-users/zsh-autosuggestions"
plug "zap-zsh/vim"
plug "zsh-users/zsh-syntax-highlighting"
plug "esc/conda-zsh-completion"
plug "zap-zsh/fzf"
plug "hlissner/zsh-autopair"
# theme
plug "zap-zsh/zap-prompt"
export PATH="$HOME/.local/bin":$PATH
# krew
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
# add custom nord theme colors
test -r "~/.dir_colors" && eval $(dircolors ~/.dir_colors)
# enable kubectl completion
source <(kubectl completion zsh)
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# bun completions
[ -s "$HOME/.bun/_bun" ] && source "$HOME/box0/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
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