Prompt - X or no X.
This commit is contained in:
parent
f52bd39a52
commit
c96188c9f3
@ -29,7 +29,7 @@ wd () {
|
|||||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
if [ ! $_P9K_TTY = '/dev/tty.*' ] || [ -n $SSH_TTY ]; then
|
if [[ ! $(tty) =~ "/dev/tty.*" ]]; 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
|
||||||
|
Loading…
Reference in New Issue
Block a user