An open API service indexing awesome lists of open source software.

https://github.com/bbugyi200/shv

Take control of your shell history once and for all.
https://github.com/bbugyi200/shv

Last synced: 5 months ago
JSON representation

Take control of your shell history once and for all.

Awesome Lists containing this project

README

          

What was that `gpg` option again? I guess I'll look it up... Again... For the thousandth time. Right? Wrong!

# (S)hell (H)istory (V)iewer
`shv` is a CLI program that sorts and filters your shell history based on properties specified via command-line options. Some of these properties include: a regular expression on the command, a date range of when the command was executed, the directory that the command was executed from, and more,

### Installation
#### From Source
Run the following commands to install `shv` from source:
```
git clone https://github.com/bbugyi200/shv
cd shv
cargo build --release
cp target/release/shv shw.sh ~/.cargo/bin/
```
Then add the following line to your `.zshrc` (or `.bashrc` if you have [bash-preexec](https://github.com/rcaloras/bash-preexec) installed):
```
preexec() { shw.sh &> /dev/null "$1"; }
```