From 35803a8073b02b83968753cb2c3b21de029330ad Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 2 May 2021 17:27:52 +0200 Subject: [PATCH] It doesn't work via ssh anyway. --- zsh/.zshrc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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