This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!
McFly¶
McFly is a shell history search tool with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network.
Reference(s)
Table of contents¶
Install¶
Config¶
$ vi $HOME/.bashrc # or ${ZDOTDIR:-${HOME}}/.zshrc or wherever
> ...
+ >
+ > # McFly
+ > eval "$(mcfly init bash)"
+ > # export MCFLY_KEY_SCHEME=vim
+ > # export MCFLY_FUZZY=2 # see https://github.com/cantino/mcfly/issues/183
+ > # export MCFLY_RESULTS=50 # change max number of results shown (default is 10)
$ source $HOME/.bashrc # or ${ZDOTDIR:-${HOME}}/.zshrc or wherever
$ vi $HOME/.zshrc # or ${ZDOTDIR:-${HOME}}/.zshenv or wherever
> ...
+ >
+ > # McFly
+ > eval "$(mcfly init zsh)"
+ > # export MCFLY_KEY_SCHEME=vim
+ > # export MCFLY_FUZZY=2 # see https://github.com/cantino/mcfly/issues/183
+ > # export MCFLY_RESULTS=50 # change max number of results shown (default is 10)
$ source $HOME/.zshrc # or ${ZDOTDIR:-${HOME}}/.zshenv or wherever
Use¶
TODO
If this cheat sheet has been useful to you, then please consider leaving a star here.