diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-09-14 18:34:49 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-14 20:51:51 +0200 |
commit | ef99ec17d63629fdc62bcc8ed6360a56bc7128fa (patch) | |
tree | 7769f26b313109cf05283c2d708a76159ef1f83d /CHANGELOG.md | |
parent | 9c11ab21c73cecf80a243d8dfb55b7793da7bb96 (diff) | |
download | aerc-ef99ec17d63629fdc62bcc8ed6360a56bc7128fa.tar.gz |
history: store command history in a file
Losing your progress in case of a crash, or when accidentally closing
aerc is annoying and costs time. This can be drastically reduced by
keeping a persistent history.
Write commands to XDG_CACHE_DIR/aerc/histfile when they are run and load
them when needed. If another instance of aerc is already writing the
file, fall back to the current model, where the history is kept in
memory.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ac429dd..7454b2a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Support for bindings with the Alt modifier. - Zoxide support with `:z`. - Hide local timezone with `send-as-utc = true` in `accounts.conf`. +- Persistent command history in `~/.cache/aerc/history`. ### Changed |