... but only on Linux.

This commit is contained in:
Bartek Stalewski 2021-04-29 23:03:08 +02:00
parent 2966b21281
commit 3ef1dc46cf

View file

@ -26,7 +26,7 @@ wd () {
} }
# theme # theme
if [ $DISPLAY ] ; then if [ $DISPLAY ] || [ $(uname -s) = "Darwin" ]; then
source $ZDOTDIR/p10k.zsh source $ZDOTDIR/p10k.zsh
source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then