]> git.pld-linux.org Git - packages/bash.git/commitdiff
- quick workaround for non-interactive bash problems
authorankry <ankry@pld-linux.org>
Fri, 27 May 2005 16:49:00 +0000 (16:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bashrc -> 1.17

bashrc

diff --git a/bashrc b/bashrc
index 39a29d4eec14939d72f7638f1125863cbc916db7..969bf11547e3f0a59818b3803153bee5cf047a5f 100644 (file)
--- 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`
This page took 0.029748 seconds and 4 git commands to generate.