Prompt - X or no X.

This commit is contained in:
Bartek Stalewski 2021-05-21 00:51:21 +02:00
parent 603c9d2a51
commit f52bd39a52

View File

@ -29,7 +29,7 @@ wd () {
fpath=($ZDOTDIR/modules/wd $fpath)
# theme
if [ ! $_P9K_TTY = '/dev/tty.*' ]; then
if [ ! $_P9K_TTY = '/dev/tty.*' ] || [ -n $SSH_TTY ]; 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