33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
if [[ -r "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
source "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
fi
|
|
|
|
source $ZDOTDIR/exports.zsh
|
|
source $ZDOTDIR/dircolor.zsh
|
|
|
|
if [[ $(grep -E "^ID" /etc/*release | cut -d= -f2) == "arch" ]]; then
|
|
source $share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
source $share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
|
else
|
|
source $share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
fi
|
|
|
|
autoload -Uz compinit
|
|
if [[ -n $HOME/.cache/zsh/compdump(#qN.mh+24) ]]; then compinit -d $HOME/.cache/zsh/compdump; else compinit -d $HOME/.cache/zsh/compdump -C; fi
|
|
|
|
for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
|
|
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
|
|
|
if [[ $(grep -E "^ID" /etc/*release | cut -d= -f2) == "arch" ]]; then
|
|
source $fzf/completion.zsh
|
|
source $fzf/key-bindings.zsh
|
|
source $share/doc/pkgfile/command-not-found.zsh
|
|
else
|
|
source $share/doc/fzf/examples/key-bindings.zsh
|
|
fi
|
|
|
|
source $ZDOTDIR/tmux/tmux.zsh
|
|
|
|
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
|
|
|
|
source $share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|