Prompt - X or no X.
This commit is contained in:
parent
a673842a88
commit
603c9d2a51
10
zsh/.zshrc
10
zsh/.zshrc
@ -29,10 +29,12 @@ wd () {
|
||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||
|
||||
# theme
|
||||
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"
|
||||
if [ ! $_P9K_TTY = '/dev/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
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
fi
|
||||
|
||||
# local settings
|
||||
|
Loading…
Reference in New Issue
Block a user