Prompt - X or no X.
This commit is contained in:
parent
c96188c9f3
commit
9877c66c14
@ -16,6 +16,9 @@ mkdir -p $XDG_DATA_HOME/zsh
|
||||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' list-colors ''
|
||||
|
||||
# fancy stuff only in X or ssh
|
||||
if [[ ! $(tty) =~ "/dev/tty.*" ]]; then
|
||||
|
||||
# aliases
|
||||
source $ZDOTDIR/aliases.zsh
|
||||
|
||||
@ -29,7 +32,6 @@ wd () {
|
||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||
|
||||
# theme
|
||||
if [[ ! $(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
|
||||
|
Loading…
Reference in New Issue
Block a user