mcfly

McFly replaces your default ctrl-r reverse history search with an intelligent search engine that prioritizes results based on your current directory and recent command execution context.

Features

  • Uses a neural network to rank and prioritize history suggestions in real time
  • Tracks command exit status, timestamps, and execution directory in SQLite
  • Context-aware filtering based on your working directory
  • Wildcard matching with the % character for flexible searches
  • Compatible with Zsh, Bash and Powershell
  • Maintains compatibility with normal shell history files
McFly interface showing intelligent history search results
McFly interface showing intelligent history search results