[from now] 2013/01/03 02:52:56

diff --git a/.bashrc b/.bashrc
index b13961d..c7704a0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -7,7 +7,7 @@ export PATH=/usr/local/sbin:/usr/local/bin:$PATH
 export MANPATH=/usr/local/share/man:$MANPATH
 export LANG='ja_JP.UTF-8'
 export LISTMAX=200
-export HISTSIZE='10000000'
+export HISTSIZE='100000'
 export EDITOR='vi'
 export PAGER='less'
 export IGNOREEOF=3
@@ -99,6 +99,14 @@ alias ex='extract'
 # History
 #
 # {{{
+## share history
+function share_history {
+    history -a
+    history -c
+    history -r
+}
+PROMPT_COMMAND='share_history'
+
 ## historical backward/forward search with linehead string binded to ^P/^N
 #
 # autoload history-search-end