-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
executable file
·24 lines (17 loc) · 787 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
# enable debug mode for dotfiles
DOTFILES_DEBUG=0
eval "$(/opt/homebrew/bin/brew shellenv)"
[[ ! -f $HOME/.zsh/p10k.zsh ]] || source $HOME/.zsh/p10k.zsh
source /opt/homebrew/opt/powerlevel10k/powerlevel10k.zsh-theme
# suppress "Last login" message in MacOS
[[ -f "$HOME/.hushlogin" ]] || touch "$HOME/.hushlogin"
# checks.zsh and colors.zsh must be sourced first
source "$HOME/.zsh/checks.zsh"
source "$HOME/.zsh/colors.zsh"
for file in $(find "$HOME/.zsh" -follow -type f -name "*.zsh"); do
source "${file}"
done
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"