A simple terminal UI for shell history, written in Go!
With Homebrew (Recommended)
brew tap nobbmaestro/homebrew-tap
brew install lazyhis
git clone [email protected]:nobbmaestro/lazyhis.git
cd lazyhis
make
Add the following to the end of ~/.zshrc:
# ~/.zshrc
eval "$(lazyhis init zsh)"
lazyhis history import --zsh /path/to/histfile
- Add doctor CLI command for verifying configuration
- Add export CLI command for exporting to HISTFILE
- Add generate shell-completions CLI command
- Add prune CLI command for removing history based on ignore pattern
- Add dry flag for prune CLI command
- Add verbosity flag for prune and import CLI commands
- Copy to clipboard via GUI
- Customizable GUI theme
- Customizable command exclusion by patterns
- Customizable command exclusion by prefix
- Customizable keybindings
- Delete history entries via GUI
- Delete selected history entries via GUI
- Edit history entries via GUI
- Filter history by context via GUI
- Fuzzy-finder search strategy in GUI
- Support for inline GUI mode
Check out the configuration docs.
If lazyhis
isn't quite what you're looking for, you might prefer: