changeset 283:108e05eb9b5c

Not just append but also read.
author Edho Arief <edho@myconan.net>
date Sun, 25 Dec 2011 00:50:31 +0700
parents 9d5247df20e9
children dd2ddddf00d5
files rc/bash
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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