Zsh Plugin: History

Today

Description

Enhanced history management providing convenient aliases and functions for searching, viewing, and managing command history.
GitHub

Essential Commands

Advanced Commands

Usage Examples

# Search command history
hs docker            # Find all docker commands
hsi GIT             # Case-insensitive search for git
hl                  # Browse history with pager
 
# Interactive workflows
# Type "git push" + Up arrow → cycle through git push variations
# Type "ssh" + Up → find recent SSH connections
# Ctrl+R → interactive reverse search
 
# History management
history | grep password  # Find sensitive commands
history -d 1234         # Delete specific line