From 3c848da2dd19c0f86e8fe557dc3e484fa1853b60 Mon Sep 17 00:00:00 2001
From: Ken-ichi Mito <mitty@mitty.jp>
Date: Mon, 16 Jul 2018 12:27:43 +0900
Subject: [PATCH] append a session's history on shell exit and unlimited
 history list

---
 TipAndDoc/.bashrc |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/TipAndDoc/.bashrc b/TipAndDoc/.bashrc
index 1306c0c..3ae7218 100644
--- a/TipAndDoc/.bashrc
+++ b/TipAndDoc/.bashrc
@@ -11,6 +11,11 @@ shopt -s checkhash      # check always PATH hash table
 shopt -s cmdhist        # save multi lines command to one line
 shopt -s no_empty_cmd_completion    # no complementation with no input
 shopt -s histverify     # check command history before execute
+shopt -s histappend
+
+# unlimited history list
+export HISTFILESIZE=-1
+export HISTSIZE=-1
 
 
 # view last 30 history or search from last 1000 history
-- 
1.7.9.5