-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
33 lines (22 loc) · 963 Bytes
/
.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
[ -r ~/.bash_profile ] && source ~/.bash_profile
alias reload='. ~/.zshrc'
# prompt (pure)
fpath+=("$(brew --prefix)/share/zsh/site-functions")
autoload -Uz compinit; compinit
autoload -U promptinit; promptinit
prompt pure
source /opt/homebrew/share/zsh-you-should-use/you-should-use.plugin.zsh
source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
autoload -Uz compinit
compinit
fi
zstyle ':autocomplete:*' ignored-input '*'
zstyle ':autocomplete:*' widget-style menu-select
bindkey '\t' menu-select "$terminfo[kcbt]" menu-select
bindkey -M menuselect '\t' menu-complete "$terminfo[kcbt]" reverse-menu-complete
export NVM_DIR="$HOME/.nvm"
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#8d949e"
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh