-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zshrc
31 lines (24 loc) · 1.07 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
#
# Executes commands at the start of an interactive session.
#
# iTerm2 shell integration
if [ "$TERM_PROGRAM" = "iTerm.app" ]; then
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
# Specify the preferences directory
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.iterm2"
# Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
fi
# Powerlevel10k theme config
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
# Source Prezto provided runcom
[[ -s "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zshrc" ]] && source "${ZDOTDIR:-$HOME}/.zprezto/runcoms/zshrc"
# Source additionnal shell configs
for config (~/.shell/*.zsh) source $config
# kubectl completion
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)
# talosctl completion
[[ $commands[talosctl] ]] && source <(talosctl completion zsh)
# helm completion
[[ $commands[helm] ]] && source <(helm completion zsh)