Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa opensrc: Update of ”histstore”
Update of ”histstore”
Not logged in
Overview

Artifact ID: 20002a6a2b0619cb160b75b39a5fa628a63d608a
Page Name:histstore
Date: 2018-11-15 22:30:49
Original User: matt
Parent: 802d09fb7b120e6388e76b35cdf8dfd08cb1fc78 (diff)
Next 35d16592df4181e09c21b85621c7335636239063
Content

Histstore

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 ...

Install from precompiled tar

Download from this link: /uv/histstore/histstore-sles11.tar.gz

Compile and install

csc histstore.scm -o hs
cp hs ~/bin

Usage

Set up some aliases
alias kh='history | hs -save'

> kh
Saving command lines to db...
saved 0 lines
saved 500 lines

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?

> hs mysq%char%
mysql -u root -e 'alter database mythconverg default character set latin1;'