diff --git a/zsh/.zshrc b/zsh/.zshrc index 79eaf95..9408386 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,14 +26,10 @@ wd () { } # theme -if [ $DISPLAY ] || [ $(uname -s) = "Darwin" ]; then - source $ZDOTDIR/p10k.zsh - source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme - if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then - source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" - fi -else - export PS1="%n@%m %1~ %# " +source $ZDOTDIR/p10k.zsh +source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi # local settings