mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +00:00
#683: Mention -y
and -r
in the readme
This commit is contained in:
parent
832ef96188
commit
f9b30ae2d3
10
README.md
10
README.md
@ -130,10 +130,16 @@ eval $(thefuck --alias FUCK)
|
|||||||
Changes will be available only in a new shell session.
|
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`).
|
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:
|
If you want to run fixed command without confirmation you can use `-y` option:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
alias fuck-it='export THEFUCK_REQUIRE_CONFIRMATION=False; fuck; export THEFUCK_REQUIRE_CONFIRMATION=True'
|
fuck -y
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to fix commands recursively until success you can use `-r` option:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
fuck -r
|
||||||
```
|
```
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user