PS1 is prefixed by ^O to fix screen hashing after dump of binary data unlabeled-1.25.2
authorroot <>
Mon, 31 Dec 2001 15:42:11 +0000 (15:42 +0000)
committerroot <>
Mon, 31 Dec 2001 15:42:11 +0000 (15:42 +0000)
[cs_CZ] PS1 ma prefix ^O, aby obrazovka nehashovala po vypsani binarnich dat

.bashrc

diff --git a/.bashrc b/.bashrc
index 03e2bb1..7903512 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -55,6 +55,7 @@ export LC_CTYPE=cs_CZ.ISO-8859-2
 export PERL_MM_OPT="PREFIX=$HOME"
 export WWW_HOME="file:///home/short/.bookmarks.html"
 export GREP_OPTIONS="--binary-files=without-match --directories=skip"
+[ -n "$PS1" ] && export PS1="`echo -en '\017'`$PS1"    # set only in interactive sessions
 
 # Force strcoll() to sort case-sensitively! (empty/undef doesn't work)
 export LC_COLLATE=C