updated stuff

This commit is contained in:
Nikolas Weger 2020-01-30 14:45:00 +01:00
parent eb728aedff
commit 9427e2f476
4 changed files with 5 additions and 19 deletions

View file

@ -1,18 +1,11 @@
if [[ -r "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh"
fi
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
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
if [[ $os == "arch" ]]; then
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
else
source $HOME/.config/p10k/powerlevel10k.zsh-theme
fi
if [[ $os == "arch" ]]; then source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme; else source $HOME/.config/p10k/powerlevel10k.zsh-theme; fi
autoload -Uz compinit bashcompinit
compinit -d $HOME/.cache/zsh/compdump
@ -21,9 +14,7 @@ bashcompinit
for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
source $ZDOTDIR/tmux/tmux.zsh
[[ ! -f $ZDOTDIR/.p10k.zsh ]] || source $ZDOTDIR/.p10k.zsh
[[ -f $ZDOTDIR/.p10k.zsh ]] && source $ZDOTDIR/.p10k.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh