# HG changeset patch # User Edho Arief # Date 1324749031 -25200 # Node ID 108e05eb9b5c058cd2aff5ae6bbe958b05d13f19 # Parent 9d5247df20e91807ffbcd85bd0bda08a85494a6e Not just append but also read. diff -r 9d5247df20e9 -r 108e05eb9b5c rc/bash --- a/rc/bash Sat Dec 24 23:44:52 2011 +0700 +++ b/rc/bash Sun Dec 25 00:50:31 2011 +0700 @@ -17,7 +17,7 @@ export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" shopt -s histappend -PROMPT_COMMAND="history -a" +PROMPT_COMMAND="history -a; history -n" export HISTFILESIZE=10000 export HISTCONTROL=ignoredups