zsh-histdb

Check-in [a4070a8bfa]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:readme?
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | descendants | master | trunk
Files: files | file ages | folders
SHA3-256: a4070a8bfada7b5ad0dc0590e56d5d71ba53a573870093645ac2d0f1213f6b41
User & Date: tom.hinton@cse.org.uk 2017-04-13 16:08:28
Context
2017-04-13
16:09
copy source from elsewhere check-in: beada4156b user: tom.hinton@cse.org.uk tags: master, trunk
16:08
readme? check-in: a4070a8bfa user: tom.hinton@cse.org.uk tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace

Added README.org.



































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#+TITLE:ZSH History Database

This is a small bit of zsh code that stores your history into a sqlite3 database.
It improves on the normal history by storing, for each history command:

- The start and stop times of the command
- The working directory where the command was run
- The hostname of the machine
- A unique per-host session ID, so history from several sessions is not confused
- The exit status of the command

It is also possible to merge multiple history databases together without conflict, so long as all your machines have different hostnames.

* TODO Installation
* TODO Querying history
* TODO Database schema
* TODO Synchronising history