diff options
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/conf | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -52,7 +52,11 @@ elif [ $SHELL = "/bin/sh" ] && [ "$(uname)" = "FreeBSD" ] ; then set -o emacs export PS1="$(whoami)"'@\h:\w \$ ' elif ! [ -z "$BASH" ] ; then - export PROMPT_COMMAND="set_my_title" + HISTFILE="$HOME/.bash_history" + HISTSIZE=10000 + HISTFILESIZE=10000 + shopt -s histappend + export PROMPT_COMMAND="set_my_title;history -a; history -c; history -r" fi if [ $COLOR -eq 1 ] ; then |
