Skip to content
A shell history utility for bash
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
hist

README.md

hist

A shell history utility for bash.

I use this utility instead of the history builtin in bash. It allows me to do some things that are not possible with the standard builtin as well as some things that are not otherwise easy or straightforward:

  1. retain my history forever and aggregate it across computers
  2. immediately see commands that were executed in other terminal sessions.
  3. retain with each history entry information including: shell PID, exit code, and pwd at the time of execution.
  4. query my entire history efficiently using hist -ag $REGEXP, where $REGEXP can include the datetime, shell id, directory of execution or any part of the command
You can’t perform that action at this time.