Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa opensrc: Changes To histstore
Changes To histstore
Not logged in

Initial version of "histstore"






























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h2>Histstore</h2>

Store your command line history in a quickly searchable sqlite3 database. For those of us in the electronics design industry or anyone else who must remember long obscure and complicated command lines ...

<h3>Compile and install</h3>
<verbatim>
csc histstore.scm -o hs
cp hs ~/bin
</verbatim>
<h3>Usage</h3>
Set up some aliases
<verbatim>
alias kh='history | hs -save'

> kh
Saving command lines to db...
saved 0 lines
saved 500 lines
</verbatim>

Every once in a while when working type "kh" to store your commandlines.

Use "hs" to search. "%" is the wildcard:

How did i fix that problem in mythtv? 
<verbatim>
> hs mysq%char%
mysql -u root -e 'alter database mythconverg default character set latin1;'
</verbatim>