31 lines
870 B
Bash
31 lines
870 B
Bash
|
|
export THEME="starship"
|
|
|
|
if [ "$THEME" = "powerlevel" ]; then
|
|
[[ -r "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
fi
|
|
|
|
source $ZDOTDIR/exports.zsh
|
|
source $ZDOTDIR/dircolor.zsh
|
|
|
|
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
if [ "$THEME" = "powerlevel" ]; then
|
|
source $HOME/.config/p10k/powerlevel10k.zsh-theme
|
|
fi
|
|
|
|
autoload -Uz compinit bashcompinit
|
|
compinit -d $HOME/.cache/zsh/compdump
|
|
bashcompinit
|
|
|
|
for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
|
|
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
|
|
|
[[ -f $ZDOTDIR/.localrc.zsh ]] && source $ZDOTDIR/.localrc.zsh
|
|
[[ -f $ZDOTDIR/.p10k.zsh ]] && source $ZDOTDIR/.p10k.zsh
|
|
|
|
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
|
|
if [ "$THEME" = "starship" ]; then
|
|
eval "$(starship init zsh)"
|
|
fi
|