mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
#531: Add example of alias for running without confirmation to readme
This commit is contained in:
parent
dee99ed705
commit
5179015b84
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user