Skip to content
/ shv Public

Take control of your shell history once and for all.

Notifications You must be signed in to change notification settings

bbugyi200/shv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 installed):

preexec() { shw.sh &> /dev/null "$1"; }

About

Take control of your shell history once and for all.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published