/
dot_zshrc
27 lines (22 loc) · 935 Bytes
/
dot_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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
source ~/.zshrc.secrets
source ~/.zshrc.aliases
source $(brew --prefix)/share/antigen/antigen.zsh
# Brew
export HOMEBREW_BUNDLE_FILE="$HOME/.brewfile"
export HOMEBREW_BUNDLE_NO_LOCK=true
export HOMEBREW_NO_ANALYTICS=1
# Antigen
antigen use oh-my-zsh
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen theme romkatv/powerlevel10k
antigen apply
. $(brew --prefix)/opt/asdf/libexec/asdf.sh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh