Prompt - X or no X.

This commit is contained in:
Bartek Stalewski 2021-05-21 01:09:54 +02:00
parent 9877c66c14
commit 7311bb59b8

View File

@ -17,7 +17,7 @@ zstyle ':completion:*' menu select
zstyle ':completion:*' list-colors ''
# fancy stuff only in X or ssh
if [[ ! $(tty) =~ "/dev/tty.*" ]]; then
if [[ $(uname -s) == Linux ]] && [[ ! $(tty) =~ /dev/tty.* ]]; then
# aliases
source $ZDOTDIR/aliases.zsh