Favicon of mcfly

mcfly

Intelligent shell history search that learns your patterns. Uses neural networks to prioritize suggestions based on directory, context, and command frequency.

Replace your default ctrl-r with a smarter shell history search that understands what you're working on. Instead of showing chronological results, McFly uses a small neural network to prioritize suggestions based on your current directory, recent commands, and execution patterns.

Key capabilities:

  • Context-aware prioritization - Considers your working directory, command execution context, frequency, recency, and historical success rates
  • Full-screen search interface - Rebinds ctrl-r for an intuitive reverse history search experience
  • Persistent tracking - Stores command metadata (exit status, timestamp, directory) in SQLite while maintaining your normal shell history
  • Multi-shell support - Works with Bash (3+), Zsh, Fish, and PowerShell (7+)
  • Wildcard matching - Use % to match any number of characters during searches
  • History management - Scrub sensitive commands from both McFly database and shell history
  • Built with Rust - Fast, safe, and reliable performance

The result is a dramatically faster workflow where the command you want appears at the top of suggestions, not buried in chronological noise. Perfect for developers who work across multiple projects and directories.

Features

JSON outputScriptable

Media

Pros

5
  • Intelligent history search with neural network prioritization
  • Learns command patterns based on context, directory, and frequency
  • Augments history with exit status, timestamp, and directory
  • Maintains normal shell history file for fallback
  • Supports Bash, Zsh, and PowerShell

Cons

1
  • Seeking co-maintainers, indicating potential for reduced development activity

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to mcfly

Favicon

 

  
 
Favicon

 

  
 
Favicon