From 387d4f8fe6fc927dfeabb38f95454e905636e11a Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Fri, 21 May 2021 01:11:42 +0200 Subject: [PATCH] Prompt - X or no X. --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 82314e6..9b99b78 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -17,7 +17,7 @@ zstyle ':completion:*' menu select zstyle ':completion:*' list-colors '' # fancy stuff only in X or ssh -if [[ $(uname -s) == Linux ]] && [[ ! $(tty) =~ /dev/tty.* ]]; then +if [[ ! $(tty) =~ /dev/tty[0-9] ]]; then # aliases source $ZDOTDIR/aliases.zsh