From c94e1368e754c1345c9213b700420e468fdc13fa Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 17 Apr 2015 16:42:41 +0200 Subject: Merged from Anevia. --- 10_Environment.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '10_Environment.zsh') diff --git a/10_Environment.zsh b/10_Environment.zsh index c793d3c..6d33610 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -94,7 +94,7 @@ HISTSIZE=$(( $SAVEHIST * 1.10 )) export GPG_TTY=`tty` # YeahConsole.. -if ( ps x | grep $$ -B1 | grep -q yeahconsole ) +if ( ps x 2>&- | grep $$ -B1 | grep -q yeahconsole ) then _yeahconsole=true fi -- cgit v1.2.3