Usage
Record a Session
keeplog record
This spawns your shell inside a pseudo-terminal and records everything. Type commands normally, then exit when done.
Search
Search matches the command, the directory it ran in, and everything it printed (in full mode).
# Interactive fzf search
keeplog search docker
# Matches output too: finds the `docker ps` whose output listed a postgres container
keeplog search postgres
# Without fzf, it falls back to a list
keeplog search "npm install"
Browse
# Recent commands
keeplog recent
# Full details of a specific command
keeplog get 1
Stats
keeplog status
Auto-start
keeplog setup
Adds a hook to your .zshrc/.bashrc/config.fish so every terminal starts recording automatically.
It works inside tmux and screen: each pane is recorded as its own session. If you installed keeplog before 1.1.1, run keeplog setup once more to switch to the new hook.