diff --git a/zsh/distro/archlinux.base.zsh b/zsh/distro/archlinux.base.zsh index 0e575f6..d312d78 100644 --- a/zsh/distro/archlinux.base.zsh +++ b/zsh/distro/archlinux.base.zsh @@ -3,7 +3,11 @@ autoload -Uz promptinit vcs_info promptinit zstyle ':vcs_info:*' enable git svn setopt prompt_subst # Prompting -[ ! -f /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ] && source ${DOTFILES}/zsh/themes/gentoo.zsh-theme +if [[ -f /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ]]; then + source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme +else + source ${DOTFILES}/zsh/themes/gentoo.zsh-theme +fi setopt correct # Auto correct mistakes setopt extendedglob # allows regexp with *