Utilities

Excellent Utilities: McFly – navigate through your shell history

Other Features

When suggesting a command, McFly takes into account the following factors:

  • The directory where you ran the command. McFly uses the PWD environment variable to determine directory.
  • What commands you typed before the command (e.g., the command’s execution context).
  • The frequency the command is run.
  • The time when the command was last run.
  • Has the command been selected in McFly before?
  • How often you run the command.
  • The command’s historical exit status.

McFly also offers the following functionality:

  • Augments your shell history to track command exit status, timestamp, and execution directory in a SQLite 3 database.
  • Highlights search string in a case-insensitive way.
  • Includes a simple action to scrub any history item from the McFly database and your shell history files. Press F2 and you can delete the selected command from the history.
  • Designed to be extensible for other shells in the future.
  • Replace the default theme with a light mode. It’s useful if you prefer a terminal with a light background.
  • Detect when directories are moved or renamed and updates the history.
  • Generate a training set with the command ‘mcfly train’.
  • Unicode support throughout.

Next page: Page 4 – Summary

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Other Features
Page 4 – Summary


Complete list of articles in this series:

Excellent Utilities
AbricotineMarkdown editor with inline preview functionality
AnanicyShell daemon created to manage processes’ IO and CPU priorities
brootNext gen tree explorer and customizable launcher
cheat.shCommunity driven unified cheat sheet
crocSecurely transfer files and folders from the command-line
DeskreenLive streaming your desktop to a web browser
dufDisk usage utility with more polished presentation than the classic df
exaA turbo-charged alternative to the venerable ls command
Extension ManagerBrowse, install and manage GNOME Shell Extensions
fdWonderful alternative to the venerable find
fkillKill processes quick and easy
fontpreviewQuickly search and preview fonts
horcruxFile splitter with encryption and redundancy
LanguageToolStyle and grammar checker for 30+ languages
Liquid PromptAdaptive prompt for Bash & Zsh
lnavAdvanced log file viewer for the small-scale; great for troubleshooting
lsdLike exa, lsd is a turbo-charged alternative to ls
McFlyNavigate through your bash shell history
mdlessFormatted and highlighted view of Markdown files
OCRmyPDFAdd OCR text layer to scanned PDFs
PaperworkDesigned to simplify the management of your paperwork
PDF Mix ToolPerform common editing operations on PDF files
pecoSimple interactive filtering tool that's remarkably useful
ripgrepRecursively search directories for a regex pattern
scrcpyDisplay and control Android devices
tldrSimplified and community-driven man pages
tmuxA terminal multiplexer that offers a massive boost to your workflow
TuskAn unofficial Evernote client with bags of potential
UlauncherSublime application launcher
WatsonTrack the time spent on projects
Whoogle SearchSelf-hosted and privacy-focused metasearch engine
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.