summaryrefslogtreecommitdiff
path: root/alot/defaults/alot.rc.spec
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-15 13:04:03 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-14 08:46:01 +0100
commit466559bd6db90d98e65da327ed3e0ab78f0c858d (patch)
treea9f5d9cab1508b6cfd3af7ba3003c648a2d5fe29 /alot/defaults/alot.rc.spec
parent4b926b31f8d2d2b58dc1332442a14822d6518106 (diff)
Add history_size option
The option allows to limit the size of recent command line entries that are store on disk.
Diffstat (limited to 'alot/defaults/alot.rc.spec')
-rw-r--r--alot/defaults/alot.rc.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 0bc4f9d9..d99a96e8 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -239,6 +239,12 @@ msg_summary_hides_threadwide_tags = boolean(default=True)
# first in the account block is used.
reply_account_header_priority = force_list(default=list(From,To,Cc,Envelope-To,X-Envelope-To,Delivered-To))
+# The number of command line history entries to save
+#
+# .. note:: You can set this to -1 to save *all* entries to disk but the
+# history file might get *very* long.
+history_size = integer(default=50)
+
# Key bindings
[bindings]
__many__ = string(default=None)