From 5179015b84078c93d46a1f117f974f53ae472aa4 Mon Sep 17 00:00:00 2001 From: Vladimir Iakovlev Date: Mon, 13 Mar 2017 16:59:29 +0100 Subject: [PATCH] #531: Add example of alias for running without confirmation to readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index a8a78d46..32357c88 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,11 @@ eval "$(thefuck --alias FUCK)" Changes will be available only in a new shell session. To make them available immediately, run `source ~/.bashrc` (or your shell config file like `.zshrc`). +If you want separate alias for running fixed command without confirmation you can use alias like: + +```bash +alias fuck-it='export THEFUCK_REQUIRE_CONFIRMATION=False; fuck; export THEFUCK_REQUIRE_CONFIRMATION=True' +``` ## Update