From e707728fd51f8daefe86c92256163b00f94033af Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Sat, 26 Aug 2017 13:31:09 +0200 Subject: [PATCH] #682: Update readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 12f9649d..c90064ec 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Magnificent app which corrects your previous console command, inspired by a [@liamosaur](https://twitter.com/liamosaur/) [tweet](https://twitter.com/liamosaur/status/506975850596536320). +The Fuck is too slow? [Try experimental instant mode!](#experimental-instant-mode) + [![gif with examples][examples-link]][examples-link] Few more examples: @@ -395,6 +397,21 @@ export THEFUCK_PRIORITY='no_command=9999:apt_get=100' export THEFUCK_HISTORY_LIMIT='2000' ``` +## Experimental instant mode + +By default The Fuck reruns a previous command and that takes time, +in instant mode The Fuck logs output with [script](https://en.wikipedia.org/wiki/Script_(Unix)) +and just reads the log. + +At the moment only Python 3 with bash or zsh is supported. + +For enabling instant mode you need to add `--enable-experimental-instant-mode` +to alias initialization in your `.bashrc`, `.bash_profile` or `.zshrc` like: + +```bash +eval $(thefuck --alias --enable-experimental-instant-mode) +``` + ## Developing Install `The Fuck` for development: