]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix multi screen bash history issues
authorBrian West <brian@freeswitch.org>
Mon, 5 Jan 2015 18:48:40 +0000 (12:48 -0600)
committerBrian West <brian@freeswitch.org>
Mon, 5 Jan 2015 18:48:43 +0000 (12:48 -0600)
support-d/.bashrc

index 199f3d7924ef2ab2803db4c08ff52a9eb6ffc998..595c6fccb05f233735a841c111f1913a089b0f3d 100644 (file)
@@ -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"