From: Brian West Date: Mon, 5 Jan 2015 18:48:40 +0000 (-0600) Subject: fix multi screen bash history issues X-Git-Tag: v1.4.16~1^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4512dbc90939e8e960928ed5fd15f4cfcd4a387b;p=thirdparty%2Ffreeswitch.git fix multi screen bash history issues --- diff --git a/support-d/.bashrc b/support-d/.bashrc index 199f3d7924..595c6fccb0 100644 --- a/support-d/.bashrc +++ b/support-d/.bashrc @@ -40,7 +40,8 @@ if [ ! -f ~/.inputrc ]; then fi set -o emacs - +export PROMPT_COMMAND="history -a; history -c; history -r; ${PROMPT_COMMAND}" +export HISTSIZE=5000 export TERM=xterm-256color export LESSCHARSET="latin1" export LESS="-R"