mcfly
intelligent shell history search tool that uses a small neural network
TLDR
Launch mcfly search
SYNOPSIS
mcfly command [options]
DESCRIPTION
mcfly is an intelligent shell history search tool that uses a small neural network to suggest the most likely command based on context. It considers working directory, exit status, and command patterns.
The tool replaces Ctrl+R with a smarter search that prioritizes commands based on relevance rather than recency alone.
PARAMETERS
search [pattern]
Search history.add command
Add command to history.train
Train neural network.stats
Show usage statistics.init shell
Output shell initialization.--light
Light color scheme.--dump-facets
Debug facet information.
SHELL INTEGRATION
For bash:
CAVEATS
Requires shell integration. Learning takes time. Database grows with usage. Initial suggestions may not be optimal.
HISTORY
mcfly was created by Andrew Cantino to bring intelligent command suggestion to the shell. It uses machine learning principles to provide context-aware history search, going beyond simple text matching.
