-
Notifications
You must be signed in to change notification settings - Fork 4
/
dot_zshrc
33 lines (31 loc) · 944 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
28
29
30
31
32
33
# Enable oh-my-zsh, SEE: https://github.com/ohmyzsh/ohmyzsh
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME=powerlevel10k/powerlevel10k
plugins=(
aws
azure
colored-man-pages
colorize
common-aliases
git
gpg-agent
zsh-autosuggestions
#zsh-completions
zsh-syntax-highlighting
)
source "$ZSH/oh-my-zsh.sh"
source "$HOME/.p10k.zsh"
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
# Enable asdf, SEE: https://github.com/asdf-vm/asdf
source "$HOME/.asdf/asdf.sh"
source "$HOME/.asdf/completions/asdf.bash"
source "$HOME/.asdf/plugins/golang/set-env.zsh"
source "$HOME/.asdf/plugins/java/set-java-home.zsh"
# Load dotfiles
eval $(source "$HOME/.local/bin/detect-operating-system.sh")
for file in $HOME/.{path,exports,functions,aliases,extra,$SYSTEM_DIST,custom}; do
[ -f "$file" ] && source "$file"
done
unset file;