/sh-history-filter

Shell history filter

Primary LanguageRustMIT LicenseMIT

Sh history filter

Filter your shell history.

Usage

sh-history-filter --shell-type bash --history-text "$(cat .bash_history)"

Configuration will be generated automatically in ~/shf.toml

Build

git clone --depth 1 https://github.com/Thaumy/sh-history-filter.git
cd sh-history-filter
cargo build -r

Install over Nix

  1. Enable NUR

  2. Edit configuration.nix

environment.systemPackages = with pkgs; [
  nur.repos.thaumy.sh-history-filter
];