It doesn't work via ssh anyway.
This commit is contained in:
parent
79fb5f3c4d
commit
35803a8073
1 changed files with 4 additions and 8 deletions
12
zsh/.zshrc
12
zsh/.zshrc
|
@ -26,14 +26,10 @@ wd () {
|
||||||
}
|
}
|
||||||
|
|
||||||
# theme
|
# theme
|
||||||
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
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
export PS1="%n@%m %1~ %# "
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# local settings
|
# local settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue