2022-12-18 15:58:00 +00:00
|
|
|
# shellcheck shell=bash
|
|
|
|
# vim: ft=sh
|
|
|
|
|
2022-12-17 16:17:36 +00:00
|
|
|
if is-at-least 5.3; then
|
|
|
|
zinit ice depth"1" # git clone depth
|
|
|
|
zinit light romkatv/powerlevel10k
|
|
|
|
|
|
|
|
# To customize prompt, run `p10k configure` or edit ~/.config/zsh/.p10k.zsh.
|
2022-12-27 11:21:01 +00:00
|
|
|
if [[ -r "$ZDOTDIR/.p10k.user.zsh" ]]; then
|
|
|
|
source "$ZDOTDIR/.p10k.user.zsh"
|
|
|
|
else
|
2022-12-27 11:30:50 +00:00
|
|
|
if [[ "$TERM" = "xterm" ]]; then
|
|
|
|
[[ -r "$ZDOTDIR/.p10k.8colors.zsh" ]] && source "$ZDOTDIR/.p10k.8colors.zsh"
|
|
|
|
else
|
|
|
|
[[ -r "$ZDOTDIR/.p10k.zsh" ]] && source "$ZDOTDIR/.p10k.zsh"
|
|
|
|
fi
|
2022-12-27 11:21:01 +00:00
|
|
|
fi
|
2022-12-17 16:17:36 +00:00
|
|
|
else
|
2022-12-19 08:22:18 +00:00
|
|
|
zinit light agkozak/agkozak-zsh-prompt
|
2022-12-17 16:17:36 +00:00
|
|
|
fi
|