From 25482f0d9352b60ba6b5e128ee3f52aea3e7904d Mon Sep 17 00:00:00 2001 From: ankry Date: Fri, 27 May 2005 16:49:00 +0000 Subject: [PATCH] - quick workaround for non-interactive bash problems Changed files: bashrc -> 1.17 --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 39a29d4..969bf11 100644 --- a/bashrc +++ b/bashrc @@ -22,4 +22,4 @@ for i in `find /etc/shrc.d -name '*.sh'` ; do done unset i -stty erase `tput kbs` +[ "`LANG= tty`" = "not a tty" ] || stty erase `tput kbs` -- 2.44.0