projects
/
lab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53ff5b
)
append a session's history on shell exit and unlimited history list
master
author
Ken-ichi Mito
<mitty@mitty.jp>
Mon, 16 Jul 2018 03:27:43 +0000
(12:27 +0900)
committer
Ken-ichi Mito
<mitty@mitty.jp>
Mon, 16 Jul 2018 03:27:43 +0000
(12:27 +0900)
TipAndDoc/.bashrc
patch
|
blob
|
history
diff --git
a/TipAndDoc/.bashrc
b/TipAndDoc/.bashrc
index
1306c0c
..
3ae7218
100644
(file)
--- 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