From 966545abadc8707150307a088141bc073ac8a649 Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 23 Jun 2002 23:13:11 +0000 Subject: [PATCH] Fixed long-years standing bug wrt broken multi-line cmdline editing - caused by \017 in PS1 (incorrectly counted by bash as printable) --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 6f7a9c9..884df1b 100644 --- a/.bashrc +++ b/.bashrc @@ -76,7 +76,7 @@ export LC_CTYPE=cs_CZ.ISO-8859-2 export PERL_MM_OPT="PERL=$HOME/bin/perlilib 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 +[ -n "$PS1" ] && export PS1='\[\017\]'"$PS1" # set only in interactive sessions export MINICOM="-m -c on" # metakeys+color export HISTSIZE=100000 export HISTFILESIZE="$HISTSIZE" -- 1.8.3.1